Skip to content

Commit 60dec3f

Browse files
committed
1 parent 8fdea9f commit 60dec3f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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/",

0 commit comments

Comments
 (0)