mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
4 lines
120 B
JavaScript
4 lines
120 B
JavaScript
test("unknown variable produces ReferenceError", () => {
|
|
expect(new Function("i < 3")).toThrow(ReferenceError);
|
|
});
|