0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/client/test-helper.js

19 lines
368 B
JavaScript
Raw Normal View History

2014-11-26 23:06:24 -05:00
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();