Skip to content

Commit bff2123

Browse files
committedSep 10, 2021
Add 'test-node' script target.
1 parent cbebc13 commit bff2123

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
"prepublish": "npm run build",
9696
"build": "webpack",
9797
"test-build": "webpack --config webpack-tests.config.js",
98-
"test": "cross-env NODE_ENV=test mocha -t 30000 -R ${REPORTER:-spec} tests/unit/index.js",
98+
"test": "npm run test-node",
99+
"test-node": "cross-env NODE_ENV=test mocha -t 30000 -R ${REPORTER:-spec} tests/unit/index.js",
99100
"test-karma": "karma start",
100101
"test-karma-sauce": "karma start karma-sauce.conf",
101102
"test-server": "node tests/server.js",

0 commit comments

Comments
 (0)
Please sign in to comment.