Skip to content

Commit

Permalink
test: remove unnecessary await in test-watch-mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
iwuliz authored and targos committed Oct 4, 2024
1 parent e83ad0b commit a361a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-watch-mode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a361a2e

Please sign in to comment.