-
Notifications
You must be signed in to change notification settings - Fork 990
test: remove files from all karma module exports
#8850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This object is not used by Karma, so I believe there is no need to export it. Karma instead uses the 'files' property that is assigned on the config object. Running tests locally, it seems that the same set of tests are ran after this change. One side-effect of this change could be that files importing the another `karma.conf.js` file may use these exported files, but I can not find cases of this.
|
files from all karma module exports.files from all karma module exports
Size Report 1Affected ProductsNo changes between base commit (c8cbfff) and merge commit (fcbc828).Test Logs |
Size Analysis Report 1Affected ProductsNo changes between base commit (c8cbfff) and merge commit (fcbc828).Test Logs |
files from all karma module exportsfiles from all karma module exports
module.exports.filesare not used by Karma, so I believe there is no need to export it. Karma instead uses thefilesproperty that is assigned on the config object. https://karma-runner.github.io/6.4/config/files.htmlRunning tests locally, it seems that the same set of tests are ran after this change.
One side-effect of this change could be that files importing the another
karma.conf.jsfile may use these exported files, but I can not find cases of this.