mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 02:44:33 +03: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();
|