Skip to content

Instantly share code, notes, and snippets.

View CodingItWrong's full-sized avatar

Josh Justice CodingItWrong

View GitHub Profile
@ryanto
ryanto / fullscreen.js
Created May 22, 2018 14:31
Fullscreen test helper
// tests/helpers/fullscreen.js
import $ from 'jquery';
import { registerAsyncHelper } from '@ember/test';
export default registerAsyncHelper('fullscreen', function() {
window.QUnit.config.testTimeout = 9999999;
$('#ember-testing-container').css({
background: 'initial',