File tree 4 files changed +12
-1
lines changed
4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ node_js :
3
+ - " node"
Original file line number Diff line number Diff line change 1
1
# homesafe
2
+ [ ![ Build Status] ( https://travis-ci.org/fac-12/homesafe.svg?branch=master )] ( https://travis-ci.org/fac-12/homesafe )
2
3
3
4
By Fatimat, Dragomir, Kitty and Sophie.
4
5
Original file line number Diff line number Diff line change 4
4
"description" : " A web application for parents to notify schools if someone other than the usual guardian will be picking the child up from school" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified \" && exit 1 " ,
7
+ "test" : " NODE_ENV= test node tests/testdb.js | tap-spec " ,
8
8
"babel" : " babel index.js -d build" ,
9
9
"babelWatch" : " babel index.js --watch --out-file build/index.js" ,
10
10
"start" : " node ./src/index.js" ,
Original file line number Diff line number Diff line change
1
+ const test = require ( 'tape' ) ;
2
+
3
+ test ( 'tape is working' , ( t ) => {
4
+ const num = 2 ;
5
+ t . equal ( num , 2 , 'should return 2' ) ;
6
+ t . end ( ) ;
7
+ } )
You can’t perform that action at this time.
0 commit comments