-
-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Please provide the environment you discovered this bug in.
Reproduction repo here: https://github.com/gremlin896/vitest-angular-repro
Node : 20.18.0
OS : darwin-arm64
Native Target : aarch64-macos
yarn : 4.3.0
Steps to reproduce:
- run
yarn vitest watch
- make a change to
app.component.spec.ts
(e.g. uncomment line 16 that should cause a test failure) - tests are rerun but against the original code (e.g. test still passes)
Which area/package is the issue in?
vitest-angular
Description
When running vitest watch
, changes to test files will retrigger a test run, but the tests will run against the original code. Re-running vitest
fresh will run against the updated code as expected.
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue
- Yes
- No
Martinspire
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working