mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
19 lines
368 B
JavaScript
19 lines
368 B
JavaScript
|
import TestLoader from 'ember-cli/test-loader';
|
||
|
import Resolver from 'ember/resolver';
|
||
|
import { setResolver } from 'ember-mocha';
|
||
|
|
||
|
var resolver = Resolver.create();
|
||
|
resolver.namespace = {
|
||
|
modulePrefix: 'ghost'
|
||
|
};
|
||
|
|
||
|
setResolver(resolver);
|
||
|
|
||
|
TestLoader.load();
|
||
|
|
||
|
window.expect = chai.expect;
|
||
|
|
||
|
mocha.checkLeaks();
|
||
|
mocha.globals(['jQuery', 'EmberInspector']);
|
||
|
mocha.run();
|