silverwolf-x/project / test /e2e /app-dir /dynamic-import /dynamic-import.test.ts
silverwolf-x's picture
download
raw
335 Bytes
import { nextTestSetup } from 'e2e-utils'
describe('dynamic-import', () => {
const { next } = nextTestSetup({
files: __dirname,
})
it('should render the dynamically imported component', async () => {
const browser = await next.browser('/')
expect(await browser.elementByCss('button').text()).toBe('submit')
})
})

Xet Storage Details

Size:
335 Bytes
·
Xet hash:
403b10ba02dceb83f90d4f251eb5a4c7369b52368373fd9a08ae9b5e6e94671f

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