mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
30d009ea84
no issue - improves test run times by splitting the tests into multiple groups and running each in their own browser instance - settled on 2 browser instances as that seems to best fit within Travis' memory and CPU constraints - updated ember-cli-code-coverage config to work with parallel builds
18 lines
407 B
JavaScript
18 lines
407 B
JavaScript
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';
|
|
|
|
loadEmberExam();
|
|
|
|
setApplication(Application.create(config.APP));
|
|
|
|
registerWaiter();
|
|
|
|
mocha.setup({
|
|
timeout: 15000,
|
|
slow: 500
|
|
});
|
|
|