-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename or delete a watched test file will cause MODULE_NOT_FOUND
error
#53113
Labels
test_runner
Issues and PRs related to the test runner subsystem.
watch-mode
Issues and PRs related to watch mode
Comments
jakecastelli
added a commit
to jakecastelli/node
that referenced
this issue
May 23, 2024
jakecastelli
added a commit
to jakecastelli/node
that referenced
this issue
May 23, 2024
VoltrexKeyva
added
test_runner
Issues and PRs related to the test runner subsystem.
watch-mode
Issues and PRs related to watch mode
labels
May 23, 2024
jakecastelli
added a commit
to jakecastelli/node
that referenced
this issue
May 24, 2024
jakecastelli
added a commit
to jakecastelli/node
that referenced
this issue
May 25, 2024
jakecastelli
added a commit
to jakecastelli/node
that referenced
this issue
May 25, 2024
jakecastelli
added a commit
to jakecastelli/node
that referenced
this issue
May 25, 2024
eliphazbouye
pushed a commit
to eliphazbouye/node
that referenced
this issue
Jun 20, 2024
Fixes: nodejs#53113 PR-URL: nodejs#53114 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
bmeck
pushed a commit
to bmeck/node
that referenced
this issue
Jun 22, 2024
Fixes: nodejs#53113 PR-URL: nodejs#53114 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
test_runner
Issues and PRs related to the test runner subsystem.
watch-mode
Issues and PRs related to watch mode
Version
v20.10.0
Platform
Darwin 22.2.0 ARM 64
What steps will reproduce the bug?
create a test folder, and then create a couple of test files. .e.g
each file can optionally add a dummy test:
then run
node --watch --test
Rename a file or delete a file under the
./test/
folder, and you will observe theError: Cannot find module ${your-test-file-name}
What is the expected behavior? Why is that the expected behavior?
The test runner should be able to pick up file rename and file deletion
What do you see instead?
It throws an error
The text was updated successfully, but these errors were encountered: