Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Ensure test cases are not run 2x in watch mode. #280

Merged
merged 1 commit into from
Jun 23, 2017

Conversation

jaridmargolin
Copy link
Contributor

Prior to this change, modifications of test files resulted in test cases being run 2x.

Reference: nikku/karma-browserify#67 (comment)

files: [tests],
files: [{
pattern: tests,
watched: false,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should watched be driven by the args.watch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should never be watched... The compiled test files are watched and that is all that is needed. No need to additionally watch the test src files.

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

Successfully merging this pull request may close these issues.

2 participants