mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
9 lines
177 B
JavaScript
9 lines
177 B
JavaScript
a = 1;
|
|
|
|
test("basic functionality", () => {
|
|
expect(delete a).toBeTrue();
|
|
|
|
expect(() => {
|
|
a;
|
|
}).toThrowWithMessage(ReferenceError, "'a' is not defined");
|
|
});
|