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

test(meter): Add token theming tests #9357

Merged

Conversation

macandcheese
Copy link
Contributor

Related Issue: #7180

Summary

Add token theming tests for Meter

@macandcheese macandcheese requested a review from a team as a code owner May 16, 2024 20:53
@macandcheese macandcheese requested a review from alisonailea May 16, 2024 20:53
};
themed(meterHtml, tokens);
});
describe("corner-radius-fill", () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It might be a nice enhancement to accept an array for shadowSelector - in this case I want to test that the css property is applied to two elements @alisonailea

Copy link
Member

Choose a reason for hiding this comment

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

This is supported (see example). 🎉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, nice - will update.

@macandcheese macandcheese merged commit 8788983 into epic/7180-component-tokens May 17, 2024
4 checks passed
@macandcheese macandcheese deleted the macandcheese/token-test-meter branch May 17, 2024 18: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