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

fix(render): Tests for the web env not using the server.browser version of react-dom/server #1117

Merged
merged 6 commits into from
Apr 4, 2024

Conversation

gabrielmfern
Copy link
Collaborator

@gabrielmfern gabrielmfern commented Dec 27, 2023

A bit of time ago I implemented a few unit tests for the renderAsync that would simulate the different environments like the edge, node, and browser. But there was a small flaw on the test for the browser environment, where it was still importing the wrong react-dom/server, so this PR fixes that.

Other changes are just minor house-keeping things, like the changes on packages/react-email are due to linting issues or the upgrade to vitest which also adds in the removal of the \\ escaping characters.

Copy link

vercel bot commented Apr 4, 2024

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

Name Status Preview Comments Updated (UTC)
react-email ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2024 2:55pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
react-email-demo ⬜️ Ignored (Inspect) Visit Preview Apr 4, 2024 2:55pm

@gabrielmfern gabrielmfern merged commit b7ad24b into canary Apr 4, 2024
9 checks passed
@gabrielmfern gabrielmfern deleted the fix/render-tests branch April 4, 2024 15:49
gabrielmfern added a commit that referenced this pull request Apr 26, 2024
gabrielmfern added a commit that referenced this pull request Apr 26, 2024
gabrielmfern added a commit that referenced this pull request Apr 26, 2024
gabrielmfern added a commit that referenced this pull request Apr 29, 2024
gabrielmfern added a commit that referenced this pull request Apr 29, 2024
gabrielmfern added a commit that referenced this pull request Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants