Skip to content

Commit d93cff5

Browse files
joyeecheungnodejs-github-bot
authored andcommitted
Revert "test: fix watch tests not including completion messages"
This reverts commit 6102159. PR-URL: #58190 Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Edy Silva <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Dario Piotrowicz <[email protected]>
1 parent a0d458e commit d93cff5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/sequential/test-watch-mode.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -810,14 +810,14 @@ process.on('message', (message) => {
810810
assert.strictEqual(stderr, '');
811811
assert.deepStrictEqual(stdout, [
812812
'no --watch args present',
813-
`Completed running ${inspect(file)}. Waiting for file changes before restarting...`,
813+
`Completed running ${inspect(file)}`,
814814
`Restarting ${inspect(file)}`,
815815
'no --watch args present',
816-
`Completed running ${inspect(file)}. Waiting for file changes before restarting...`,
816+
`Completed running ${inspect(file)}`,
817817
]);
818818
});
819819

820-
it('`--watch-path` args without `=` used alongside `--watch` should not make it into the script', async () => {
820+
it('`--watch-path` ars without `=` used alongside `--watch` should not make it into the script', async () => {
821821
const projectDir = tmpdir.resolve('project-watch-watch-path-args');
822822
mkdirSync(projectDir);
823823

@@ -835,10 +835,10 @@ process.on('message', (message) => {
835835
assert.strictEqual(stderr, '');
836836
assert.deepStrictEqual(stdout, [
837837
'no cli arg ends with .js',
838-
`Completed running ${inspect(file)}. Waiting for file changes before restarting...`,
838+
`Completed running ${inspect(file)}`,
839839
`Restarting ${inspect(file)}`,
840840
'no cli arg ends with .js',
841-
`Completed running ${inspect(file)}. Waiting for file changes before restarting...`,
841+
`Completed running ${inspect(file)}`,
842842
]);
843843
});
844844
});

0 commit comments

Comments
 (0)