Skip to content

Commit

Permalink
test: fix style link after HMR (#8538)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jun 11, 2022
1 parent 3a21a5e commit 3d8f52f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe.runIf(isServe)('serve', () => {
await untilUpdated(() => getColor('body'), 'red') // successful HMR

// Verify that the base (/dev/) was added during the css-update
const link = await page.$('link[rel="stylesheet"]')
const link = await page.$('link[rel="stylesheet"]:last-of-type')
expect(await link.getAttribute('href')).toContain('/dev/global.css?t=')
})

Expand Down

0 comments on commit 3d8f52f

Please sign in to comment.