Commit b188f449 by bert

学习单元测试

parent f03a7a02
...@@ -72,6 +72,8 @@ ...@@ -72,6 +72,8 @@
"build": "atool-build", "build": "atool-build",
"lint": "eslint --ext .js,.jsx src", "lint": "eslint --ext .js,.jsx src",
"start": "dora -p 8001 --plugins \"webpack,proxy,livereload?enableJs=false&injectHost=127.0.0.1,browser-history?index=/src/entries/index.html\"", "start": "dora -p 8001 --plugins \"webpack,proxy,livereload?enableJs=false&injectHost=127.0.0.1,browser-history?index=/src/entries/index.html\"",
"test-antd": "atool-test-mocha ./src/**/__tests__/*-test.js" "test-antd": "atool-test-mocha ./src/**/__tests__/*-test.js",
"test": "mocha --compilers js:babel-register --recursive ./tests/test_helper.js",
"test:watch": "npm test -- --watch"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment