Skip to content

Commit cc88382

Browse files
iwuliztargos
authored andcommitted
test: remove unnecessary await in test-watch-mode
PR-URL: #55142 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent b1ebb0d commit cc88382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-watch-mode.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe('watch mode', { concurrency: !process.env.TEST_PARALLEL, timeout: 60_00
225225

226226
try {
227227
await restart();
228-
await writeFileSync(envFile, `${envKey}=value1\n${envKey2}=newValue`);
228+
writeFileSync(envFile, `${envKey}=value1\n${envKey2}=newValue`);
229229

230230
// Second restart, after env change
231231
const { stderr, stdout } = await restart();

0 commit comments

Comments
 (0)