From 56c17864754ac92ad0dca1831556c6ed7d7ef7b1 Mon Sep 17 00:00:00 2001 From: Wuli Date: Sun, 29 Sep 2024 22:57:54 +0930 Subject: [PATCH] test: remove unnecessary `await` in test-watch-mode PR-URL: https://github.com/nodejs/node/pull/55142 Reviewed-By: Luigi Pinca Reviewed-By: Antoine du Hamel Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Jake Yuesong Li --- test/sequential/test-watch-mode.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-watch-mode.mjs b/test/sequential/test-watch-mode.mjs index bdb0750e398e16..39bc7223dffdfc 100644 --- a/test/sequential/test-watch-mode.mjs +++ b/test/sequential/test-watch-mode.mjs @@ -225,7 +225,7 @@ describe('watch mode', { concurrency: !process.env.TEST_PARALLEL, timeout: 60_00 try { await restart(); - await writeFileSync(envFile, `${envKey}=value1\n${envKey2}=newValue`); + writeFileSync(envFile, `${envKey}=value1\n${envKey2}=newValue`); // Second restart, after env change const { stderr, stdout } = await restart();