Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Unit tests should run on file change only once #581

Closed
slaweet opened this issue Aug 8, 2017 · 0 comments · Fixed by #582
Closed

Unit tests should run on file change only once #581

slaweet opened this issue Aug 8, 2017 · 0 comments · Fixed by #582

Comments

@slaweet
Copy link
Contributor

slaweet commented Aug 8, 2017

Expected behaviour

When running npm run test-live tests should run only once on file change.

Actual behaviour

When running npm run test-live tests run twice on file change.

It's probably related to this [0]

Actually, watching with webpack is better since the tests will be rerun only once - after webpack rebuilds test_index.js.
Watching with karma means that karma will run tests upon change some_test.js and after webpack rebuilds the test_index.js

[0] codymikol/karma-webpack#23 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants