From 55bdaf75df70d6942a8c839bf262adfe17689b66 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Wed, 24 Feb 2021 11:31:29 -0600 Subject: [PATCH] style(xsnap): no need for for-await Co-authored-by: Michael FIG --- packages/xsnap/test/test-xsnap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/xsnap/test/test-xsnap.js b/packages/xsnap/test/test-xsnap.js index b65c406ab4f..880455b6c53 100644 --- a/packages/xsnap/test/test-xsnap.js +++ b/packages/xsnap/test/test-xsnap.js @@ -355,9 +355,10 @@ test('heap exhaustion: orderly fail-stop', async t => { stuff = stuff + stuff; } `; - for await (const debug of [false, true]) { + for (const debug of [false, true]) { const vat = xsnap({ ...xsnapOptions, meteringLimit: 0, debug }); t.teardown(() => vat.terminate()); + // eslint-disable-next-line no-await-in-loop await t.throwsAsync(vat.evaluate(grow)); } });