We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8fa782 commit 09adb31Copy full SHA for 09adb31
packages/plugin-rsc/e2e/basic.test.ts
@@ -55,7 +55,12 @@ test.describe('dev-react-compiler', () => {
55
})
56
defineTest(f)
57
58
- // TODO: actually verify compiler is enabled in client environment
+ test('verify react compiler', async ({ page }) => {
59
+ await page.goto(f.url())
60
+ await waitForHydration(page)
61
+ const res = await page.request.get(f.url('src/routes/client.tsx'))
62
+ expect(await res.text()).toContain('react.memo_cache_sentinel')
63
+ })
64
65
66
test.describe('build-react-compiler', () => {
0 commit comments