Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor(test-runner-core): remove unused configFilePath option and TestSessionGroup type. #2983

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

Open
wjhsf wants to merge 3 commits into modernweb-dev:master
base: master
Choose a base branch
Loading
from wjhsf:master

Conversation

@wjhsf
Copy link

@wjhsf wjhsf commented Sep 4, 2025

The primary purpose of this PR is to fix #2982. I removed the logic that makes test file discovery relative to the specified configFilePath. Now the behavior is the same as when no configFilePath is specified, i.e. files are found relative to the working directory. After removing that logic, I realized the configFilePath option was no longer used anywhere, so I removed it completely. This is a breaking change for anyone using that option. However, given that the option doesn't really do anything, this is probably of minimal impact.

While familiarizing myself with the code base, I also noticed that the sessionGroups variable is never used. Removing that and propagating the change through the code base ultimately led to the removal of the unused TestSessionGroup type and a change to the TestSessionManager constructor signature. These are also technically breaking changes for anyone who imports @web/test-runner-core directly.

Copy link

changeset-bot bot commented Sep 4, 2025

⚠️ No Changeset found

Latest commit: 75522a4

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

test-runner configFilePath option makes incorrect assumption about directory structure

1 participant

AltStyle によって変換されたページ (->オリジナル) /