mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 16:14:58 +00:00
3 lines
118 B
JavaScript
3 lines
118 B
JavaScript
test("unknown variable produces ReferenceError", () => {
|
|
expect(new Function("i < 3")).toThrow(ReferenceError);
|
|
});
|