Skip to content

Commit e4d332b

Browse files
astururKrinkle
authored andcommitted
Fix call to undefined "QUnit.ok" in uncaught exception handler
This existed in QUnit 1.x, but was removed in later 2.x versions. Closes #137.
1 parent 99c3f07 commit e4d332b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/child.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ setInterval(function() {
2525

2626
process.on('uncaughtException', function(err) {
2727
if (QUnit.config.current) {
28-
QUnit.ok(false, 'Test threw unexpected exception: ' + err.message);
28+
QUnit.assert.ok(false, 'Test threw unexpected exception: ' + err.message);
2929
}
3030
process.send({
3131
event: 'uncaughtException',

0 commit comments

Comments
 (0)