We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f79da commit 0568e4aCopy full SHA for 0568e4a
test/e2e/basic.test.ts
@@ -140,6 +140,8 @@ describe('basic', () => {
140
})
141
it('bundle', async () => {
142
const { page } = await createPage('/bundle-use-script')
143
+ // wait for the script to be loaded
144
+ await page.waitForTimeout(500)
145
// get content of #script-src
146
const text = await page.$eval('#script-src', el => el.textContent)
147
expect(text).toMatchInlineSnapshot(`"/_scripts/6bEy8slcRmYcRT4E2QbQZ1CMyWw9PpHA7L87BtvSs2U.js"`)
0 commit comments