We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f2435b commit aa19996Copy full SHA for aa19996
1 file changed
test/integration/oom.test.ts
@@ -1,8 +1,8 @@
1
describe.only('OOM exit code detection', function () {
2
it('allocates until OOM', function () {
3
- const leak: Uint8Array[] = [];
+ const leak: object[] = [];
4
while (true) {
5
- leak.push(new Uint8Array(1_000_000));
+ leak.push({ a: Array.from({ length: 1_000 }, (_, i) => ({ i })) });
6
}
7
});
8
0 commit comments