Ghost/ghost/admin/tests/test-helper.js

18 lines
407 B
JavaScript
Raw Normal View History

import Application from '../app';
import config from '../config/environment';
import loadEmberExam from 'ember-exam/test-support/load';
import registerWaiter from 'ember-raf-scheduler/test-support/register-waiter';
import {setApplication} from '@ember/test-helpers';
2015-02-13 07:22:32 +03:00
loadEmberExam();
setApplication(Application.create(config.APP));
registerWaiter();
mocha.setup({
timeout: 15000,
slow: 500
});