Skip to content

Commit

Permalink
Try to make register test run in node4
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianheine committed Oct 16, 2018
1 parent 85d74e0 commit 1593577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -20,7 +20,7 @@
"build": "rollup -c",
"test": "mocha test/test.js",
"pretest": "npm run build",
"test:register": "cat src/program/Node.js | sed 's/export default/module.exports =/' | node -r ./register.js",
"test:register": "echo '\"use strict\";' | cat - src/program/Node.js | sed 's/export default/module.exports =/' | node -r ./register.js",
"test:full": "npm run test && npm run test:register && npm run lint",
"prepublish": "npm test",
"lint": "eslint bin/ src/ test/test.js test/utils/ register.js rollup.*.js"
Expand Down

0 comments on commit 1593577

Please sign in to comment.