-
Notifications
You must be signed in to change notification settings - Fork 77
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
refactor(commonTests): split up helpers into individual modules #9112
Conversation
7cc1475
to
c750615
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome stuff, @Elijbet! 🌊🏄
ComponentTestContent, | ||
ComponentTestSetup, | ||
getTagOrHTMLWithBeforeContent, | ||
HYDRATED_ATTR, |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. Here: #9166
After installing, please merge into #8594. cc @alisonailea |
packages/calcite-components/src/tests/commonTests/accessible.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, @Elijbet! 🏆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, @Elijbet! 🏆
Related Issue: #9056
Summary
Split up commonTest helpers into individual modules.