mocha-sugar-free
Write mocha test cases without using globals or this
. Browserify compatible. Mocha without the sugar.
example
// Note: this example uses ES6 features, however this module does not require it. const describe = describe;const it = it;const assert = ; ;
Test cases that use mocha-sugar-free
are run in the same way as normal mocha test cases, you can even mix them. You can not use mocha-sugar-free
standalone, you should run your test cases using mocha foo.js
(not node foo.js
)