Skip to content

chore: add tests for Preview.tsx #58

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

brettkolodny
Copy link
Collaborator

@brettkolodny brettkolodny commented Aug 12, 2025

Adds tests for Preview.tsx and rearranges the DynamicParameters.tsx component slightly to make it more testable.

The tests focus on the rendering of the parameters and not the "dynamic" part of the form which would require figuring out how to run the wasm within the test environments. At the same time a lot of this is also being tested within coder/coder so there is a question about what is worth testing here as well as there.

Part 2 of #52 and closes #45

Copy link

vercel bot commented Aug 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
playground Ready Preview Comment Aug 12, 2025 8:58pm

@brettkolodny brettkolodny marked this pull request as ready for review August 12, 2025 21:13
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.

Add tests
1 participant