From 60dec3f5b67bfeeae3d00fa9724e139c9883afab Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 3 Feb 2019 18:52:06 -0500 Subject: [PATCH] build: supertest@3.4.2 --- .travis.yml | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8af79ac..c3e745a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,6 +68,12 @@ before_install: if node_version_lt '0.10'; then npm_use_module 'mocha' '2.5.3' elif node_version_lt '4.0' ; then npm_use_module 'mocha' '3.5.3' fi + - | + # Configure supertest for http calls + if node_version_lt '0.10'; then npm_use_module 'supertest' '1.1.0' + elif node_version_lt '4.0' ; then npm_use_module 'supertest' '2.0.0' + elif node_version_lt '6.0' ; then npm_use_module 'supertest' '3.4.2' + fi # Update Node.js modules - | # Prune & rebuild node_modules diff --git a/package.json b/package.json index bf41a36..0eb235d 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-plugin-standard": "4.0.0", "istanbul": "0.4.5", "mocha": "5.2.0", - "supertest": "1.1.0" + "supertest": "3.4.2" }, "files": [ "public/",