8 lines
152 B
TypeScript
8 lines
152 B
TypeScript
// Should not crash
|
|
test("abc", () => {
|
|
expect(async () => {
|
|
await Bun.sleep(100);
|
|
throw new Error("uh oh!");
|
|
}).toThrow("uh oh!");
|
|
}, 50);
|