Closed
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x
)
- [ ] new
- [ ] build
- [ ] serve
- [x] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
node: v8.11.3
npm: 5.6.0
Angular CLI: 6.0.8
Ubuntu Linux: 16.04.1
Repro steps
Run tests: ng test
Open any file with vim and the tests run: vi src/app/heroes/heroes.component.ts
Change the file without saving and the tests run. Anything that causes a change in the vim-generated swap file triggers a test re-run.
The log given by the failure
Desired functionality
The tests should only run once.
Mention any other details that might be useful
Seems like a similar issue has already been reported here: #4593 Being a vim user I really appreciate the fix; however, the issue is also present when running unit tests.