Skip to content

Commit

Permalink
add more Node flags to the test command
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Sep 6, 2015
1 parent 377d3a5 commit 7526879
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"repository": "shinnn/array-to-sentence",
"scripts": {
"pretest": "eslint --config @shinnn browser.js index.js test.js",
"test": "node test.js",
"coverage": "istanbul cover test.js"
"test": "node --strong_mode --throw-deprecation --track-heap-objects test.js",
"coverage": "node --strong_mode node_modules/.bin/istanbul cover test.js"
},
"license": "MIT",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ runTest('require(\'array-to-sentence\')', require('.'));
global.window = {};
require('./' + require('./bower.json').main);

runTest('window.arrayToSentence', window.arrayToSentence);
runTest('window.arrayToSentence', global.window.arrayToSentence);

0 comments on commit 7526879

Please sign in to comment.