Ghost/ghost/admin/tests/test-helper.js
Kevin Ansfield 2942523d27 Removed ember-cli-chai in favour of direct ember-auto-import imports
no issue

- removes some deprecated babel plugins from our dependencies
2020-06-08 08:37:14 +01:00

21 lines
468 B
JavaScript

import Application from '../app';
import config from '../config/environment';
import registerWaiter from 'ember-raf-scheduler/test-support/register-waiter';
import start from 'ember-exam/test-support/start';
import {setApplication} from '@ember/test-helpers';
import chai from 'chai';
import chaiDom from 'chai-dom';
chai.use(chaiDom);
setApplication(Application.create(config.APP));
registerWaiter();
mocha.setup({
timeout: 15000,
slow: 500
});
start();