2019-01-02 12:58:55 +03:00
|
|
|
import Application from '../app';
|
|
|
|
import config from '../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';
|
|
|
|
chai.use(chaiDom);
|
|
|
|
|
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();
|