Karma???????????
???????????? ???????[ 2015/10/19 11:13:03 ] ?????????????????? ???????
??????angularjs??????????karma?????????????????????????????????????????????????????????angularjs?????????????js??????????β????????
????0??karma???
????1???????
????????js????????package.json
????2?????????
??????1??????package.json???????????????
????npm init
??????2?????karma???????????????????
????npm install karma karma-jasmine karma-chrome-launcher --save-dev
?????????? karma karma-jasmine karma-chrome-launcher ???????浽package.json?С????????????????
??????Щ???????????karma????????karma-jasmine karma-chrome-launcher ????????????????no provider jasmine??bug????????ubuntu ????????
?????????????
????npm install -g karma karma-jasmine karma-chrome-launcher
??????3??????karma???????????????
??????4??????дdemo.js
????describe('A spec suite'?? function() {
????it('contains a passing spec'?? function() {
????expect(true).toBe(true);
????});
????});
????describe??????it()????????????console?д??'A spec suite'??????????;
????it()?????????????????????console?д??'contains a passing spec'??????????;
????expect(a).tobe(b)???????a??????b????????????console?д?????;
???????к????????????????????????????????????????????????
????3?????в???
???????????????
????Ч????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11