mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
Add test
This commit is contained in:
@@ -33,3 +33,12 @@ test("error gc test #2", () => {
|
||||
Bun.gc();
|
||||
}
|
||||
});
|
||||
|
||||
test("error gc test #2", () => {
|
||||
for (let i = 0; i < 1000; i++) {
|
||||
var err = new Error();
|
||||
Error.captureStackTrace(err);
|
||||
Bun.inspect(err);
|
||||
Bun.gc();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user