我使用npm test
我接收了没有错误的输出,但这可以在20秒后工作并关闭
但我不知道怎么用这个
PhantomJS 2.1.1 (Linux 0.0.0): Executed 59 of 90 SUCCESS (0 secs / 4.326 secs)
PhantomJS 2.1.1 (Linux 0.0.0): Executed 90 of 90 SUCCESS (0 secs / 5.777 secs)
Chrome 55.0.2883 (Linux 0.0.0): Executed 34 of 90 SUCCESS (0 secs / 4.396 secs)
PhantomJS 2.1.1 (Linux 0.0.0): Executed 90 of 90 SUCCESS (6.43 secs / 5.777 secs)
Chrome 55.0.2883 (Linux 0.0.0): Executed 34 of 90 SUCCESS (0 secs / 4.396 secs)
TOTAL: 124 SUCCESS
TOTAL: 124 SUCCESS
[2017-03-01 19:58:05.913] [DEBUG] karma - Run complete, exiting.
我如何安装和使用此angularjs项目https://github.com/json-schema-form/angular-schema-form
请帮帮我
答案 0 :(得分:0)
我解决了使用
./ node_modules / karma / bin / karma start --single-run --browsers PhantomJS karma.conf.js
和简单的http-server命令