Skip to content

Commit 1e35cda

Browse files
authored
test: re-enable rewrite assertion (#266)
1 parent a2b9d08 commit 1e35cda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/vite-plugin/src/main.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,7 @@ defined on your team and site and much more. Run npx netlify init to get started
424424
expect(await page.goto(`${url}/contact/e-mail`).then((r) => r?.text())).toContain(
425425
'Hello from the redirect target',
426426
)
427-
// FIXME(serhalp): This regressed in https://github.com/netlify/primitives/pull/248. Reimplement.
428-
// expect(await page.goto(`${url}/beta/pricing`).then((r) => r?.text())).toContain('Hello from the rewrite target')
427+
expect(await page.goto(`${url}/beta/pricing`).then((r) => r?.text())).toContain('Hello from the rewrite target')
429428

430429
await server.close()
431430
await fixture.destroy()

0 commit comments

Comments
 (0)