??????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?????в???
???????????????
????Ч????