Closed vojtajina closed 11 years ago
By default, Karma does exclude the configuration file, so that it does not get loaded in the browser.
So I can use *.js pattern and it won't load karma.conf.js. It does explicitly ignore the config file that is being used.
*.js
karma.conf.js
WebStorm plugin does wrap the config file and therefore Karma is loading a different config file and does not ignore the user config file.
It should add the original - user's config file to excludes.
An example how to reproduce it can be https://github.com/vojtajina/testability-interview
Thanks!
By default, Karma does exclude the configuration file, so that it does not get loaded in the browser.
So I can use
*.js
pattern and it won't loadkarma.conf.js
. It does explicitly ignore the config file that is being used.WebStorm plugin does wrap the config file and therefore Karma is loading a different config file and does not ignore the user config file.
It should add the original - user's config file to excludes.
An example how to reproduce it can be https://github.com/vojtajina/testability-interview