Skip to content

Commit 9c1ab27

Browse files
committed
more memory for the tests
1 parent 7cfd2c4 commit 9c1ab27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,23 +88,23 @@
8888
"schemas/"
8989
],
9090
"scripts": {
91-
"test": "mocha test/*.test.js --harmony --check-leaks",
91+
"test": "mocha test/*.test.js --max_old_space_size=4096 --harmony --check-leaks",
9292
"travis:test": "npm run cover:min",
9393
"travis:lint": "npm run lint-files && npm run nsp",
9494
"travis:benchmark": "npm run benchmark",
95-
"appveyor:test": "node --max_old_space_size=4096 node_modules\\mocha\\bin\\mocha --harmony test/*.test.js",
95+
"appveyor:test": "node node_modules\\mocha\\bin\\mocha --max_old_space_size=4096 --harmony test/*.test.js",
9696
"appveyor:benchmark": "npm run benchmark",
97-
"circleci:test": "node --max_old_space_size=4096 node_modules/mocha/bin/mocha --harmony test/*.test.js",
97+
"circleci:test": "node node_modules/mocha/bin/mocha --max_old_space_size=4096 --harmony test/*.test.js",
9898
"circleci:lint": "npm run lint-files && npm run nsp",
9999
"build:examples": "cd examples && node buildAll.js",
100100
"pretest": "npm run lint-files",
101101
"lint-files": "npm run lint && npm run beautify-lint",
102102
"lint": "eslint lib bin hot buildin \"test/**/webpack.config.js\" \"test/binCases/**/test.js\" \"examples/**/webpack.config.js\"",
103103
"beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"",
104104
"nsp": "nsp check --output summary",
105-
"benchmark": "mocha test/*.benchmark.js --harmony -R spec",
106-
"cover": "node --harmony ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js",
107-
"cover:min": "node --harmony ./node_modules/.bin/istanbul cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js",
105+
"benchmark": "mocha --max_old_space_size=4096 --harmony test/*.benchmark.js -R spec",
106+
"cover": "node --max_old_space_size=4096 --harmony ./node_modules/istanbul/lib/cli.js cover -x '**/*.runtime.js' node_modules/mocha/bin/_mocha -- test/*.test.js",
107+
"cover:min": "node --max_old_space_size=4096 --harmony ./node_modules/.bin/istanbul cover -x '**/*.runtime.js' --report lcovonly node_modules/mocha/bin/_mocha -- test/*.test.js",
108108
"publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish"
109109
}
110110
}

0 commit comments

Comments
 (0)