mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
3 lines
120 B
JavaScript
3 lines
120 B
JavaScript
test("unknown variable produces ReferenceError", () => {
|
|
expect(new Function("i < 3")).toThrow(ReferenceError);
|
|
});
|