0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Registered test waiter for ember-raf-scheduler

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
This commit is contained in:
Kevin Ansfield 2019-01-31 12:41:57 +00:00
parent fd96997f92
commit cd5329dddd

View file

@ -1,9 +1,12 @@
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