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

Revert "fix(47299): allow testing pages with metadata in jsdom test environment" #54160

Merged
merged 1 commit into from Aug 17, 2023

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented Aug 17, 2023

Reverts #53578

This PR (#53578) will break client components test, revert it for now.

Can repro by adding "use client" to app/page.tsx in test/production/jest/server-only.test.ts

    FAIL app/page.test.jsx
      ● Test suite failed to run·
        Cannot find module 'private-next-rsc-mod-ref-proxy' from 'app/page.jsx'·
        Require stack:

@kodiakhq kodiakhq bot merged commit 02c258d into canary Aug 17, 2023
49 of 52 checks passed
@kodiakhq kodiakhq bot deleted the revert-53578-fix/47299-test-page-with-metadata branch August 17, 2023 08:49
X-oss-byte pushed a commit to X-oss-byte/next.js that referenced this pull request Aug 17, 2023
…nvironment" (vercel#54160)

Reverts vercel#53578

This PR (vercel#53578) will break client components test, revert it for now.

Can repro by adding `"use client"` to `app/page.tsx` in `test/production/jest/server-only.test.ts`

```
    FAIL app/page.test.jsx
      ● Test suite failed to run·
        Cannot find module 'private-next-rsc-mod-ref-proxy' from 'app/page.jsx'·
        Require stack:
```
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants