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 6f4dcb8 commit 232cde2Copy full SHA for 232cde2
packages/plugin-rsc/e2e/basic.test.ts
@@ -70,8 +70,8 @@ test.describe('dev-non-optimized-cjs', () => {
70
71
test('show warning', async ({ page }) => {
72
await page.goto(f.url())
73
- expect(f.proc().stderr()).toContain(
74
- `Found non-optimized CJS dependency in 'ssr' environment.`,
+ expect(f.proc().stderr()).toMatch(
+ /non-optimized CJS dependency in 'ssr' environment.*@vitejs\/test-dep-cjs\/index.js/,
75
)
76
})
77
0 commit comments