diff --git a/.travis.yml b/.travis.yml index 857c01c..f28171d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,9 +54,10 @@ before_install: fi - | # Configure mocha for testing - if 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' - elif node_version_lt '8.0'; then npm_use_module 'mocha' '6.2.2' + if 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' + elif node_version_lt '8.0' ; then npm_use_module 'mocha' '6.2.2' + elif node_version_lt '10.0'; then npm_use_module 'mocha' '7.2.0' fi - | # Configure nyc for testing diff --git a/package.json b/package.json index bae3975..11d5af2 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "after": "0.8.2", "eslint": "7.5.0", "express": "4.17.1", - "mocha": "7.2.0", + "mocha": "8.1.3", "nyc": "15.1.0", "supertest": "4.0.2" },