Skip to content

Commit

Permalink
build: supertest@3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 4, 2018
1 parent c023f4f commit cb91054
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -30,6 +30,12 @@ before_install:
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
npm install --save-dev nyc@11.9.0
fi
- |
# supertest for http calls
# - use 2.0.0 for Node.js < 4
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 4 ]]; then
npm install --save-dev supertest@2.0.0
fi
# Update Node.js modules
- |
# Prune & rebuild node_modules
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -22,7 +22,7 @@
"express": "4.16.3",
"mocha": "5.2.0",
"nyc": "13.1.0",
"supertest": "1.2.0"
"supertest": "3.3.0"
},
"files": [
"lib/index.js",
Expand Down

0 comments on commit cb91054

Please sign in to comment.