Skip to content

Commit

Permalink
test: use a starts-with selector for expected script, because it's a …
Browse files Browse the repository at this point in the history
…hashed filename
  • Loading branch information
apaleslimghost committed Jan 21, 2025
1 parent 473e3d7 commit c4212ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ft-ui/__test__/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('examples/ft-ui', () => {
})

it('loads the configured scripts', async () => {
await expect(page).toMatchElement('script[src="public/scripts.bundle.js"]')
await expect(page).toMatchElement('script[src^="/public/scripts"]')
})
})

Expand Down

0 comments on commit c4212ab

Please sign in to comment.