qunit-mocha-ui
Version:
A QUnit Interface for Mocha that supports all QUnit's assertion types.
10 lines (9 loc) • 329 B
JavaScript
suite("Negative tests for async");
test("run negative async tests in a child process, should be 1 failure", function (){
expect(1);
runTestFile("./test/qunit-async-negative-test.js", function(numFailures) {
equal(1, numFailures, "There should be 1 failed test in the child testrunner.");
start();
});
stop();
});