Skip to content

Commit

Permalink
Merge pull request #271 from anhou/refine-unit-test
Browse files Browse the repository at this point in the history
Reduce unittest memory consumption
  • Loading branch information
anhou committed Apr 7, 2017
2 parents cff5c9a + 40b1dd6 commit f7224b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/helper.js
Expand Up @@ -62,6 +62,7 @@ chai.Assertion.addMethod('stringify', function (target) {
*/
var di = require('di');
var dihelper = require('../lib/di')(di, __dirname);
var core = require('../index')(di, '..');

function provider(object) {
var provides = _.detect(object.annotations, function (annotation) {
Expand Down Expand Up @@ -121,8 +122,6 @@ global.helper = {

setupInjector: function (overrides) {
// Start with the core dependencies.
var core = require('../index')(di, '..');

var dependencies = _.flattenDeep([
core.injectables,
core.workflowInjectables
Expand Down

0 comments on commit f7224b0

Please sign in to comment.