Skip to content

Commit 55bdaf7

Browse files
dckcmichaelfig
andcommitted
style(xsnap): no need for for-await
Co-authored-by: Michael FIG <[email protected]>
1 parent 8ffbaa6 commit 55bdaf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/xsnap/test/test-xsnap.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,10 @@ test('heap exhaustion: orderly fail-stop', async t => {
355355
stuff = stuff + stuff;
356356
}
357357
`;
358-
for await (const debug of [false, true]) {
358+
for (const debug of [false, true]) {
359359
const vat = xsnap({ ...xsnapOptions, meteringLimit: 0, debug });
360360
t.teardown(() => vat.terminate());
361+
// eslint-disable-next-line no-await-in-loop
361362
await t.throwsAsync(vat.evaluate(grow));
362363
}
363364
});

0 commit comments

Comments
 (0)