Removed non-standard uneval() usage.
This commit is contained in:
parent
20b689d015
commit
d152a53871
|
@ -26,7 +26,7 @@ var Test = (() => {
|
||||||
error(e);
|
error(e);
|
||||||
}
|
}
|
||||||
this[r ? "passed" : "failed"]++;
|
this[r ? "passed" : "failed"]++;
|
||||||
log(`${r ? "PASSED" : "FAILED"} ${msg || uneval(test)}`);
|
log(`${r ? "PASSED" : "FAILED"} ${msg || test}`);
|
||||||
if (typeof callback === "function") try {
|
if (typeof callback === "function") try {
|
||||||
callback(r, test, msg);
|
callback(r, test, msg);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
Loading…
Reference in New Issue