Skip to content

armgit / mocha

Public Imported from GitHub
0

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

fix require example usage

Roman Shtylman7aa996a15dbd
diff --git a/index.md b/index.md
index 0b3d68db..3837d6a2 100644
--- a/index.md
+++ b/index.md
@@ -500,7 +500,7 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
var testCase = require('mocha').describe
var pre = require('mocha').before
- var assertions = require('mocha').assertions
+ var assertions = require('mocha').it
var assert = require('assert')
testCase('Array', function(){