mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: remove unnecessary await in test-watch-mode
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user