UNPKG

qunit-mocha-ui

Version:

A QUnit Interface for Mocha that supports all QUnit's assertion types.

29 lines (23 loc) 453 B
console.log("Running child tests"); test('expect fails', function (){ expect(25); ok(true); }); test('expect fails async', function (done){ expect(1); ok(true); setTimeout(function (){ ok(true); done(); }, 100); }); test('expect fails using arguments', 25, function (){ ok(true); }); test('expect fails async using arguments', 1, function (done){ ok(true); setTimeout(function (){ ok(true); done(); }, 100); });