File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "private" : true ,
66 "scripts" : {
77 "start" : " browser-sync start --server ./src --files ./src" ,
8- "test" : " mocha test/*.spec.js" ,
8+ "test" : " mocha --colors test/*.spec.js" ,
9+ "test:watch" : " watch-run -p 'src/index.html' npm run test" ,
910 "deploy:github-pages" : " git subtree push --prefix src origin gh-pages"
1011 },
1112 "author" : " Adam Fortuna <adam@codeschool.com>" ,
1415 "browser-sync" : " ^2.14.0" ,
1516 "chai" : " ^3.5.0" ,
1617 "jsdom" : " ^9.4.1" ,
17- "mocha" : " ^3.0.1"
18+ "mocha" : " ^3.0.1" ,
19+ "watch-run" : " ^1.2.4"
1820 }
1921}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ describe('The webpage', () => {
3636 } ) ;
3737
3838 it ( 'should remove the existing class @nav' , ( ) => {
39- const nav = doc . querySelector ( 'header .nav' ) ;
39+ const nav = doc . querySelector ( '.nav' ) ;
4040 assert . isOk ( ! nav , 'We no longer need an element with a class of `.nav`. Go ahead and remove it.' ) ;
4141 } ) ;
4242 } ) ;
You can’t perform that action at this time.
0 commit comments