Skip to content

Conversation

dlarocque
Copy link
Contributor

module.exports.files are 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. https://karma-runner.github.io/6.4/config/files.html

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.

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.
Copy link

changeset-bot bot commented Mar 18, 2025

⚠️ No Changeset found

Latest commit: b23770b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dlarocque dlarocque changed the title Remove files from all karma module exports. Remove files from all karma module exports Mar 18, 2025
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 18, 2025

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 18, 2025

@dlarocque dlarocque changed the title Remove files from all karma module exports test: remove files from all karma module exports Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants