Comparing version 0.5.11 to 0.5.12
@@ -16,5 +16,9 @@ var QUnit = require('../support/qunit/qunit/qunit.js'), | ||
process.on('uncaughtException', function(e) { | ||
QUnit.ok(false, 'Test threw unexpected exception: ' + e); | ||
QUnit.start(); | ||
process.on('uncaughtException', function(err) { | ||
if (QUnit.config.current) { | ||
QUnit.ok(false, 'Test threw unexpected exception: ' + err); | ||
QUnit.start(); | ||
} else { | ||
throw err; | ||
} | ||
}); | ||
@@ -21,0 +25,0 @@ |
@@ -98,4 +98,4 @@ var fs = require('fs'), | ||
if (file.path.charAt(0) === '.') { | ||
file.path = path.join(process.cwd(), file.path); | ||
if (file.path.charAt(0) != '/') { | ||
file.path = path.resolve(process.cwd(), file.path); | ||
} | ||
@@ -102,0 +102,0 @@ |
{ | ||
"name": "qunit", | ||
"description": "QUnit testing framework for nodejs", | ||
"version": "0.5.11", | ||
"version": "0.5.12", | ||
"author": "Oleg Slobodskoi <oleg008@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
234850
5829