mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 22:34:59 +00:00
9 lines
167 B
JavaScript
9 lines
167 B
JavaScript
a = 1;
|
|
|
|
test("basic functionality", () => {
|
|
expect(delete a).toBeTrue();
|
|
|
|
expect(() => {
|
|
a;
|
|
}).toThrowWithMessage(ReferenceError, "'a' is not defined");
|
|
});
|