add filename to babylon test errors
This commit is contained in:
parent
3a89ee84ef
commit
95c9b2c8e0
@ -11,7 +11,12 @@ _.each(fixtures, function (suites, name) {
|
||||
suite(name + "/" + testSuite.title, function () {
|
||||
_.each(testSuite.tests, function (task) {
|
||||
test(task.title, !task.disabled && function () {
|
||||
return runTest(task);
|
||||
try {
|
||||
return runTest(task);
|
||||
} catch (err) {
|
||||
err.message = task.actual.loc + ": " + err.message;
|
||||
throw err;
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user