标签:
y@y:karma-t01$ tree -L 3 . ├── client │ ├── app │ │ └── user │ ├── bower_components │ │ ├── angular │ │ ├── angular-mocks │ │ └── angular-resource │ └── bower.json ├── karma.conf.js └── readme
7 directories, 3 files
|
y@y:client$ bower install angular |
y@y:app$ tree -L 1 user/ user/ ├── user.js ├── users.json └── user.test.js
0 directories, 3 files
|
/** |
/** |
[ |
切换到你想要放置配置文件的目录,然后在终端中输入下面的命令来创建配置文件:
y@y:karma-t01$ karma init karma.conf.js |
// Karma configuration |
y@y:karma-t01$ karma start karma.conf.js INFO [karma]: Karma v0.12.32 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome INFO [Chrome 39.0.2171 (Linux)]: Connected on socket CO5e5TAX7Pv9PzqGAAAA with id 34588683 Chrome 39.0.2171 (Linux): Executed 2 of 2 SUCCESS (0.06 secs / 0.048 secs) |
标签:
原文地址:http://www.cnblogs.com/yshyee/p/5004603.html