Skip to content

Commit 080bf6e

Browse files
committed
add debug info
1 parent 04f6b8b commit 080bf6e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/tailwindcss/tests/ui.spec.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,18 @@ test('explicit font-weight utilities are respected when overriding font-size', a
591591
`,
592592
)
593593

594+
console.log('↓'.repeat(10))
595+
console.log(
596+
await page.evaluate(() => {
597+
return {
598+
'(hover: hover)': window.matchMedia('(hover: hover)').matches,
599+
'(hover: none)': window.matchMedia('(hover: none)').matches,
600+
'(any-hover: hover)': window.matchMedia('(any-hover: hover)').matches,
601+
}
602+
}),
603+
)
604+
console.log('↑'.repeat(10))
605+
594606
expect(await getPropertyValue('#x', 'font-weight')).toEqual('100')
595607
await page.locator('#x').hover()
596608
expect(await getPropertyValue('#x', 'font-weight')).toEqual('200')

0 commit comments

Comments
 (0)