mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
Switch the LibJS test suite to use the native assert implementation surfaced inside the js repl when it's launched in test mode.
8 lines
96 B
JavaScript
8 lines
96 B
JavaScript
try {
|
|
i < 3;
|
|
} catch (e) {
|
|
assert(e.name === "ReferenceError");
|
|
}
|
|
|
|
console.log("PASS");
|