Skip to content

Commit df4a8f8

Browse files
committed
add harmony flag
1 parent 380ce10 commit df4a8f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"scripts": {
3434
"start": "NODE_ENV=test npm test -- -w",
3535
"lint": "standard",
36-
"test": "NODE_ENV=test nyc --check-coverage --lines 80 ava test/**/*.spec.js --timeout=30s",
36+
"test:cmd": "node --harmony node_modules/.bin/ava test/**/utils.spec.js --timeout=30s",
37+
"test": "NODE_ENV=test nyc --check-coverage --lines 80 npm run test:cmd",
3738
"coverage": "nyc report --reporter=lcov",
3839
"ci.coverage": "nyc report --reporter=text-lcov | coveralls"
3940
},

0 commit comments

Comments
 (0)