File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "description" : " Starter Node.js sample project" ,
55 "main" : " dst" ,
66 "directories" : {
7- "test" : " src/ test/"
7+ "test" : " test/"
88 },
99 "scripts" : {
1010 "dev" : " nodemon -w src --exec \" babel-node src\" " ,
1111 "build" : " babel src -s -D -d dst" ,
1212 "start" : " node dst" ,
1313 "prestart" : " npm run -s build" ,
14- "test" : " mocha --compilers js:babel-register src/ test/user.spec.js" ,
14+ "test" : " mocha --compilers js:babel-register test/user.spec.js" ,
1515 "_test" : " NODE_ENV=test mocha --compilers js:babel-core/register --recursive $(find test -name '*.spec.js')"
1616 },
1717 "eslintConfig" : {
Original file line number Diff line number Diff line change 11import mocha from 'mocha' ;
22import chai from 'chai' ;
33import chaiHttp from 'chai-http' ;
4- import app from '../index' ;
4+ import app from '../src/ index' ;
55
66chai . use ( chaiHttp ) ;
77const expect = chai . expect ;
You can’t perform that action at this time.
0 commit comments