diff --git a/docs/index.md b/docs/index.md index 98c665b4f7..5dac9ff173 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1569,7 +1569,7 @@ mocha.setup({ // Use "tdd" interface, ignore leaks, and force all tests to be asynchronous mocha.setup({ ui: 'tdd', - ignoreLeaks: true, + checkLeaks: false, // default asyncOnly: true }); ```