File tree Expand file tree Collapse file tree 4 files changed +451
-25
lines changed
Expand file tree Collapse file tree 4 files changed +451
-25
lines changed Original file line number Diff line number Diff line change 1+ dist : trusty
2+
3+ language : node_js
4+ node_js : " stable"
5+
6+ install :
7+ - yarn install
8+
9+ env :
10+ # add env variables here
11+
12+ script :
13+ - yarn run test
Original file line number Diff line number Diff line change 44 "description" : " Generic Base Controller for express to generate JSON API response" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test" : " echo \" Error: no test specified \" && exit 1 " ,
7+ "test" : " ./node_modules/mocha/bin/mocha " ,
88 "lint" : " eslint index.js example lib" ,
99 "lint:fix" : " eslint index.js example lib --fix"
1010 },
3434 "ramda" : " ^0.26.1"
3535 },
3636 "devDependencies" : {
37+ "chai" : " ^4.2.0" ,
3738 "eslint" : " ^5.16.0" ,
3839 "eslint-config-standard" : " ^12.0.0" ,
3940 "eslint-plugin-import" : " ^2.17.2" ,
4041 "eslint-plugin-node" : " ^8.0.1" ,
4142 "eslint-plugin-promise" : " ^4.1.1" ,
42- "eslint-plugin-standard" : " ^4.0.0"
43+ "eslint-plugin-standard" : " ^4.0.0" ,
44+ "mocha" : " ^6.1.4"
4345 },
4446 "eslintIgnore" : [
4547 " node_modules/"
Original file line number Diff line number Diff line change 1+ require ( 'chai' )
2+ require ( 'mocha' )
3+
4+ console . log ( "Tests are running" )
You can’t perform that action at this time.
0 commit comments