mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 13:22:39 +03:00
cd5329dddd
no issue - recommended as per `vertical-collection` docs: https://github.com/html-next/vertical-collection#testing - ensures Ember's `wait` helper is aware of any raf-scheduler loops
15 lines
331 B
JavaScript
15 lines
331 B
JavaScript
import Application from '../app';
|
|
import config from '../config/environment';
|
|
import registerWaiter from 'ember-raf-scheduler/test-support/register-waiter';
|
|
import {setApplication} from '@ember/test-helpers';
|
|
|
|
setApplication(Application.create(config.APP));
|
|
|
|
registerWaiter();
|
|
|
|
mocha.setup({
|
|
timeout: 15000,
|
|
slow: 500
|
|
});
|
|
|