Skip to content

Commit 1df597e

Browse files
committed
Update the Ignored unit test
1 parent f52f0b6 commit 1df597e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/ignored.spec.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ const css = `
1313
content: 'A';
1414
box-sizing: border-box;
1515
}
16+
:is(html, body, main) {
17+
content: 'B';
18+
}
1619
@media screen and (max-width: 200px) {}
1720
div {
18-
content: 'B';
21+
content: 'C';
1922
}
2023
div:hover {
21-
content: 'C';
24+
content: 'D';
2225
}
2326
@media screen and (max-width: 800px) {}
2427
.ignored > section::-webkit-scrollbar {
@@ -38,5 +41,5 @@ test('Ignored', async ({ page }) => {
3841

3942
// That element should have specific text content.
4043
const content = await element?.innerHTML();
41-
expect(content).toBe('B');
44+
expect(content).toBe('C');
4245
});

0 commit comments

Comments
 (0)