api-design-node-v2 icon indicating copy to clipboard operation
api-design-node-v2 copied to clipboard

Windows OS Script Fix

Open laniehei opened this issue 7 years ago • 0 comments

If you are running on windows, you will have to make the following change to the "test:unit" script in your package.json:

"test:unit": "SET NODE_ENV=testing rm -rf ./tmp/mocha-webpack && mocha-webpack --webpack-config webpack.testing.js \"src/**/*.spec.js\" --timeout 10000 --require source-map-support/register",

You'll notice that SET was placed at the beginning of the script.

laniehei avatar Sep 21 '18 22:09 laniehei