File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ before_install:
6868 if node_version_lt '0.10'; then npm_use_module 'mocha' '2.5.3'
6969 elif node_version_lt '4.0' ; then npm_use_module 'mocha' '3.5.3'
7070 fi
71+ - |
72+ # Configure supertest for http calls
73+ if node_version_lt '0.10'; then npm_use_module 'supertest' '1.1.0'
74+ elif node_version_lt '4.0' ; then npm_use_module 'supertest' '2.0.0'
75+ elif node_version_lt '6.0' ; then npm_use_module 'supertest' '3.4.2'
76+ fi
7177 # Update Node.js modules
7278 - |
7379 # Prune & rebuild node_modules
Original file line number Diff line number Diff line change 2323 "eslint-plugin-standard" : " 4.0.0" ,
2424 "istanbul" : " 0.4.5" ,
2525 "mocha" : " 5.2.0" ,
26- "supertest" : " 1.1.0 "
26+ "supertest" : " 3.4.2 "
2727 },
2828 "files" : [
2929 " public/" ,
You can’t perform that action at this time.
0 commit comments