2020-08-03 11:21:42 +03:00
|
|
|
import Application from 'ghost-admin/app';
|
|
|
|
import config from 'ghost-admin/config/environment';
|
2019-01-31 15:41:57 +03:00
|
|
|
import registerWaiter from 'ember-raf-scheduler/test-support/register-waiter';
|
2019-05-13 17:33:36 +03:00
|
|
|
import start from 'ember-exam/test-support/start';
|
2019-01-02 12:58:55 +03:00
|
|
|
import {setApplication} from '@ember/test-helpers';
|
2019-03-11 21:16:01 +03:00
|
|
|
|
2020-06-08 10:37:14 +03:00
|
|
|
import chai from 'chai';
|
|
|
|
import chaiDom from 'chai-dom';
|
2024-09-23 20:20:30 +03:00
|
|
|
import sinonChai from 'sinon-chai';
|
2020-06-08 10:37:14 +03:00
|
|
|
chai.use(chaiDom);
|
2024-09-23 20:20:30 +03:00
|
|
|
chai.use(sinonChai);
|
2020-06-08 10:37:14 +03:00
|
|
|
|
2019-01-02 12:58:55 +03:00
|
|
|
setApplication(Application.create(config.APP));
|
2015-10-14 12:37:57 +03:00
|
|
|
|
2019-01-31 15:41:57 +03:00
|
|
|
registerWaiter();
|
|
|
|
|
2015-10-14 12:37:57 +03:00
|
|
|
mocha.setup({
|
2015-10-20 16:10:07 +03:00
|
|
|
timeout: 15000,
|
2015-10-14 12:37:57 +03:00
|
|
|
slow: 500
|
|
|
|
});
|
2018-01-05 18:38:23 +03:00
|
|
|
|
2019-05-13 12:06:15 +03:00
|
|
|
start();
|