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

Updated @salesforce/templates to 55.0.0. The LWC template now adds a unit test #4203

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

jeffb-sfdc
Copy link
Contributor

What does this PR do?

The PR adds a default/boilerplate unit test to the LWC template.

What issues does this PR fix or reference?

When a new LWC is created, only the .js and .html are created. We should encourage our customers to write unit tests, and adding a default unit test along with the component class will help encourage customers to write unit tests.

What issues does this PR fix or reference?
#@W-11171762@

@jeffb-sfdc jeffb-sfdc requested a review from a team as a code owner June 10, 2022 16:27
@jeffb-sfdc jeffb-sfdc requested review from RitamAgrawal and gbockus-sf and removed request for RitamAgrawal June 10, 2022 16:27
Copy link
Contributor

@gbockus-sf gbockus-sf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified locally.
When creating a new LWC component via command it includes unit test by default ✅
Verified that OOTB LWC debug config still works as expected ✅

Thanks

@jeffb-sfdc jeffb-sfdc merged commit 7abe93e into develop Jun 14, 2022
@jeffb-sfdc jeffb-sfdc deleted the jb/update-templates-to-55.0.0 branch June 14, 2022 16:17
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.

2 participants