无法 运行 测试 angular 示例项目
Can't run tests on angular sample project
我克隆了 Angular Material-Start 项目。正如文档所说:
run npm run tests
to start all your Karma unit tests.
But this conmmand gives me an error:
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\DevSoft\NodeJs\node.exe" "C:\Users\Taras\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "tests"
npm ERR! node v5.7.1
npm ERR! npm v3.8.9
npm ERR! missing script: tests
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
我做错了什么?我怎样才能 运行 测试?
我克隆了 Angular Material-Start 项目。正如文档所说:
run
npm run tests
to start all your Karma unit tests. But this conmmand gives me an error:
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\DevSoft\NodeJs\node.exe" "C:\Users\Taras\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "tests"
npm ERR! node v5.7.1
npm ERR! npm v3.8.9
npm ERR! missing script: tests
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
我做错了什么?我怎样才能 运行 测试?