Skip to content
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

fix: update constructor helper #3770

Merged
merged 3 commits into from
Jun 21, 2023
Merged

fix: update constructor helper #3770

merged 3 commits into from
Jun 21, 2023

Conversation

dlockhart
Copy link
Member

@dlockhart dlockhart commented Jun 21, 2023

@ChrisLabattD2L noticed that since switching from @open-wc/testing to @brightspace-ui/testing, repos using the constructor test helper now fail to import @brightspace-ui/testing because it's only a devDependency. This would have also been a problem previously, but all repos using it must have also depended on @open-wc/testing.

Longer term, I think this helper should just move over to @brightspace-ui/testing, but that will require switching all consumers over to it... of which there are >450.

@dlockhart dlockhart requested a review from a team as a code owner June 21, 2023 19:42
@github-actions
Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://pr-3770-brightspace-ui-core.d2l.dev/

Note
The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@dlockhart
Copy link
Member Author

Ugh, license checker.

@dlockhart dlockhart changed the title fix: make testing library a non devDependency fix: update constructor helper Jun 21, 2023
@svanherk
Copy link
Contributor

svanherk commented Jun 21, 2023

Hmm, this is gonna be a mess in BSI I think - maybe we just keep this one place using @open-wc's export for now, until everyone's switched to using it from testing?

@dlockhart
Copy link
Member Author

Yeah agreed -- already pushed that change, which seems to be the least bad of all the bad options.

@dlockhart dlockhart merged commit 7090948 into main Jun 21, 2023
@dlockhart dlockhart deleted the dlockhart/fix-dependency branch June 21, 2023 20:14
@ghost
Copy link

ghost commented Jun 21, 2023

🎉 This PR is included in version 2.131.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Jun 21, 2023
bearfriend pushed a commit that referenced this pull request Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants