silverwolf-x/project / test /e2e /error-handler-not-found-req-url /error-handler-not-found-req-url.test.ts
silverwolf-x's picture
download
raw
409 Bytes
import { nextTestSetup } from 'e2e-utils'
describe('error-handler-not-found-req-url', () => {
const { next } = nextTestSetup({
files: __dirname,
})
it('should log the correct request url and asPath for not found _error page', async () => {
const browser = await next.browser('/3')
const p = await browser.elementByCss('p')
expect(await p.text()).toBe('reqUrl: /3, asPath: /3')
})
})

Xet Storage Details

Size:
409 Bytes
·
Xet hash:
63934a28add4b2f58d1d48e9a8d866cbb7aa6d951b29eb645366142bc1871600

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.