File tree 7 files changed +9
-7
lines changed
es2017-transpile/functions
uppercase-firestore/functions
7 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 8
8
- npm install -g typescript
9
9
- npm install -g tslint
10
10
script :
11
- - ./scripts/test.sh
11
+ - ./scripts/test.sh
Original file line number Diff line number Diff line change
1
+ index.js
Original file line number Diff line number Diff line change 58
58
" username-password-auth/functions"
59
59
],
60
60
"version" : " 1.0.0"
61
- }
61
+ }
Original file line number Diff line number Diff line change 1
1
firebase-debug.log
2
- functions /eslintrc.js
2
+ functions /eslintrc.js
Original file line number Diff line number Diff line change 14
14
"sinon" : " ^1.17.7"
15
15
},
16
16
"scripts" : {
17
- "test" : " ./node_modules/.bin/mocha --reporter spec" ,
18
17
"lint" : " ./node_modules/.bin/eslint --max-warnings=0 ." ,
19
18
"serve" : " firebase serve --only functions" ,
20
19
"shell" : " firebase experimental:functions:shell" ,
Original file line number Diff line number Diff line change 12
12
"sinon" : " ^4.1.3"
13
13
},
14
14
"scripts" : {
15
- "test" : " ./node_modules/.bin/mocha --reporter spec" ,
15
+ "build" : " npm install" ,
16
+ "test" : " npm run build && ./node_modules/.bin/mocha --reporter spec" ,
16
17
"lint" : " ./node_modules/.bin/eslint --max-warnings=0 ." ,
17
18
"serve" : " firebase serve --only functions" ,
18
19
"shell" : " firebase experimental:functions:shell" ,
Original file line number Diff line number Diff line change 2
2
echo " Linting..."
3
3
lerna run lint
4
4
5
- # TODO: run tests
6
- # 'lerna bootstrap' takes too long on travis so not sure how to do this
5
+ # Run tests
6
+ echo " Testing..."
7
+ lerna run test
You can’t perform that action at this time.
0 commit comments