mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
21 lines
486 B
JavaScript
21 lines
486 B
JavaScript
import Application from 'ghost-admin/app';
|
|
import config from 'ghost-admin/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();
|