karma-runner / karma-intellij

Reporter for IntelliJ / WebStorm.
Other
34 stars 10 forks source link

Exclude the user's karma.conf.js #9

Closed vojtajina closed 11 years ago

vojtajina commented 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.

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

segrey commented 11 years ago

Thanks!