
Switch the LibJS test suite to use the native assert implementation surfaced inside the js repl when it's launched in test mode.
7 lines
96 B
JavaScript
7 lines
96 B
JavaScript
try {
|
|
i < 3;
|
|
} catch (e) {
|
|
assert(e.name === "ReferenceError");
|
|
}
|
|
|
|
console.log("PASS");
|