diff --git a/.travis.yml b/.travis.yml index a5d8bac..428b1f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,6 +68,7 @@ before_install: # Configure mocha for testing 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' + elif node_version_lt '6.0' ; then npm_use_module 'mocha' '5.2.0' fi - | # Configure supertest for http calls diff --git a/package.json b/package.json index f847610..d418071 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "eslint-plugin-promise": "4.0.1", "eslint-plugin-standard": "4.0.0", "istanbul": "0.4.5", - "mocha": "5.2.0", + "mocha": "6.1.4", "split": "1.0.1", "supertest": "3.3.0" },