silverwolf-x/project / test /e2e /app-dir /async-component-preload /async-component-preload.test.ts
silverwolf-x's picture
download
raw
413 Bytes
import { nextTestSetup } from 'e2e-utils'
describe('async-component-preload', () => {
const { next, skipped } = nextTestSetup({
files: __dirname,
skipDeployment: true,
})
if (skipped) {
return
}
it('should handle redirect in an async page', async () => {
const browser = await next.browser('/')
expect(await browser.waitForElementByCss('#success').text()).toBe('Success')
})
})

Xet Storage Details

Size:
413 Bytes
·
Xet hash:
17168310b16b4d6cfab53e6b7153a50e3b04018c6d97a7ab48c1c961a43e6495

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