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

Add module tests #6

Open
2 of 3 tasks
Tracked by #4
danielgamage opened this issue Nov 29, 2021 · 1 comment
Open
2 of 3 tasks
Tracked by #4

Add module tests #6

danielgamage opened this issue Nov 29, 2021 · 1 comment

Comments

@danielgamage
Copy link
Member

danielgamage commented Nov 29, 2021

should probably test a few uses of the module on every push:

  • minimal react example
  • minimal web component example
  • web component auto-register example

just need to ensure they render, but maybe testing for the existence of the exclusion element would be useful? a visual diffing test might be ideal but maybe more trouble to set up than it's worth?

@danielgamage danielgamage changed the title testing Add module tests Nov 29, 2021
@mikabusante
Copy link
Contributor

Added some extremely basic specs in #9, basically just testing if the element is created without an error.
Still looking for a better way to test the contents of the shadow DOM 🔍

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

No branches or pull requests

2 participants