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:
68
68
if node_version_lt '0.10'; then npm_use_module 'mocha' '2.5.3'
69
69
elif node_version_lt '4.0' ; then npm_use_module 'mocha' '3.5.3'
70
70
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
71
77
# Update Node.js modules
72
78
- |
73
79
# Prune & rebuild node_modules
Original file line number Diff line number Diff line change 23
23
"eslint-plugin-standard" : " 4.0.0" ,
24
24
"istanbul" : " 0.4.5" ,
25
25
"mocha" : " 5.2.0" ,
26
- "supertest" : " 1.1.0 "
26
+ "supertest" : " 3.4.2 "
27
27
},
28
28
"files" : [
29
29
" public/" ,
You can’t perform that action at this time.
0 commit comments