File tree Expand file tree Collapse file tree 4 files changed +16
-9
lines changed
6. Unit-Testing-in-JavaScript
3. mocha-karma-environment Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < title > Unit testing in Javascript with Mocha: Running tests</ title >
6- < link rel ="stylesheet " href ="../bower_components /mocha/mocha.css ">
6+ < link rel ="stylesheet " href ="../node_modules /mocha/mocha.css ">
77</ head >
88< body >
99 < div id ="mocha "> </ div >
10- < script src ="../bower_components /mocha/mocha.js "> </ script >
11- < script src ="../bower_components /chai/chai.js "> </ script >
10+ < script src ="../node_modules /mocha/mocha.js "> </ script >
11+ < script src ="../node_modules /chai/chai.js "> </ script >
1212 < script type ="text/javascript ">
1313 mocha . setup ( 'bdd' ) ;
1414 expect = chai . expect ;
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < title > Unit testing in Javascript with Mocha: Running tests</ title >
6- < link rel ="stylesheet " href ="../bower_components /mocha/mocha.css ">
6+ < link rel ="stylesheet " href ="../node_modules /mocha/mocha.css ">
77</ head >
88< body >
99 < div id ="mocha "> </ div >
10- < script src ="../bower_components /mocha/mocha.js "> </ script >
11- < script src ="../bower_components /chai/chai.js "> </ script >
10+ < script src ="../node_modules /mocha/mocha.js "> </ script >
11+ < script src ="../node_modules /chai/chai.js "> </ script >
1212 < script type ="text/javascript ">
1313 mocha . setup ( 'bdd' ) ;
1414 expect = chai . expect ;
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < title > Unit testing in Javascript with Mocha: Running tests</ title >
6- < link rel ="stylesheet " href ="../bower_components /mocha/mocha.css ">
6+ < link rel ="stylesheet " href ="../node_modules /mocha/mocha.css ">
77</ head >
88< body >
99 < div id ="mocha "> </ div >
10- < script src ="../bower_components /mocha/mocha.js "> </ script >
11- < script src ="../bower_components /chai/chai.js "> </ script >
10+ < script src ="../node_modules /mocha/mocha.js "> </ script >
11+ < script src ="../node_modules /chai/chai.js "> </ script >
1212 < script type ="text/javascript ">
1313 mocha . setup ( 'bdd' ) ;
1414 expect = chai . expect ;
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "dependencies" : {
77 "chai" : " ^1.10.0" ,
8+ "karma" : " ^0.12.28" ,
9+ "karma-chai" : " ^0.1.0" ,
10+ "karma-chrome-launcher" : " ^0.1.5" ,
11+ "karma-cli" : " 0.0.4" ,
12+ "karma-firefox-launcher" : " ^0.1.3" ,
13+ "karma-ie-launcher" : " ^0.1.5" ,
14+ "karma-mocha" : " ^0.1.9" ,
815 "mocha" : " ^2.0.1"
916 },
1017 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments