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:
parent
fd96997f92
commit
cd5329dddd
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue