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

chore: refactor test suites #36

Merged
merged 4 commits into from
Aug 23, 2024
Merged

chore: refactor test suites #36

merged 4 commits into from
Aug 23, 2024

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Aug 23, 2024

Switches to uvu for Node/non-browser tests and @web/test-runner for our new browser tests. Gives us better ESM support over Jest, drops jsdom and the few hacks we needed to support it, and now we have JSX in our browser tests.

It does mean different assertion libraries are used in browser vs Node, but both do pretty well in their own lane so I'm happy enough with it.

Comment on lines +9 to +10
jsxFactory: 'h',
jsxFragment: 'Fragment',
Copy link
Member Author

Choose a reason for hiding this comment

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

The esbuild plugin doesn't support configuring the automatic transform at this time, hence the pragma.

@rschristian rschristian merged commit 5309eb8 into main Aug 23, 2024
1 check passed
@rschristian rschristian deleted the chore/refactor-test-suites branch August 23, 2024 22:47
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