Unverified Commit f92b159e authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

test: fix type error in segment-cache-basic test (#73755)

Fix type error introduced in #73540
parent 4074ede0
......@@ -144,9 +144,9 @@ describe('segment cache (basic tests)', () => {
it('skips dynamic request if prefetched data is fully static', async () => {
const interceptor = createRequestInterceptor()
const browser = await next.browser('/fully-static', {
beforePageLoad(page: Page) {
page.route('**/*', async (route: Route) => {
await interceptor.interceptRoute(route)
beforePageLoad(page: Playwright.Page) {
page.route('**/*', async (route: Playwright.Route) => {
await interceptor.interceptRoute(page, route)
})
},
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment