Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix wording in enableTimeouts deprecation msg [ci skip]

Christopher Hiller4351697f0f15
diff --git a/lib/mocha.js b/lib/mocha.js
index 0478f2c1..cce2bb9b 100644
--- a/lib/mocha.js
+++ b/lib/mocha.js
@@ -120,7 +120,7 @@ function Mocha(options) {
if ('enableTimeouts' in options) {
utils.deprecate(
- 'enableTimeouts is DEPRECATED and will be removed from a future version of Mocha. Instead, use "timeouts: false" to disable timeouts.'
+ 'enableTimeouts is DEPRECATED and will be removed from a future version of Mocha. Instead, use "timeout: false" to disable timeouts.'
);
}
this.timeout(