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

refactor(commonTests): split up helpers into individual modules #9112

Merged
merged 32 commits into from
Apr 22, 2024

Conversation

Elijbet
Copy link
Contributor

@Elijbet Elijbet commented Apr 10, 2024

Related Issue: #9056

Summary

Split up commonTest helpers into individual modules.

@github-actions github-actions bot added the refactor Issues tied to code that needs to be significantly reworked. label Apr 16, 2024
@Elijbet Elijbet force-pushed the elijbet/9056-split-commonTest-helpers-into-modules branch from 7cc1475 to c750615 Compare April 16, 2024 22:36
@Elijbet Elijbet marked this pull request as ready for review April 17, 2024 17:40
@Elijbet Elijbet requested a review from a team as a code owner April 17, 2024 17:40
@Elijbet Elijbet marked this pull request as draft April 17, 2024 17:40
@Elijbet Elijbet marked this pull request as ready for review April 19, 2024 18:49
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

Awesome stuff, @Elijbet! 🌊🏄

packages/calcite-components/.eslintrc.cjs Outdated Show resolved Hide resolved
ComponentTestContent,
ComponentTestSetup,
getTagOrHTMLWithBeforeContent,
HYDRATED_ATTR,
Copy link
Member

Choose a reason for hiding this comment

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

Except for HYDRATED_ATTR, the rest should not be exported as they are internal to the common test modules.

Sidebar: can you create a follow-up issue to update/remove tests using it in favor of renders?

Copy link
Contributor Author

@Elijbet Elijbet Apr 22, 2024

Choose a reason for hiding this comment

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

Yup. Here: #9166

packages/calcite-components/src/tests/commonTests/slots.ts Outdated Show resolved Hide resolved
@jcfranco
Copy link
Member

After installing, please merge into #8594. cc @alisonailea

Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

Looks great, @Elijbet! 🏆

Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

Looks great, @Elijbet! 🏆

@Elijbet Elijbet added the skip visual snapshots Pull requests that do not need visual regression testing. label Apr 22, 2024
@Elijbet Elijbet merged commit bdd19c7 into main Apr 22, 2024
14 checks passed
@Elijbet Elijbet deleted the elijbet/9056-split-commonTest-helpers-into-modules branch April 22, 2024 23:13
@github-actions github-actions bot added this to the 2024-04-30 - Apr Release milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues tied to code that needs to be significantly reworked. skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants