Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Mar 21, 2023
1 parent a844e6d commit 1b92cb4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/important-selector.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ crosscheck(({ stable, oxide }) => {
<div class="dark:focus:text-left"></div>
<div class="group-hover:focus-within:text-left"></div>
<div class="rtl:active:text-center"></div>
<div class="dark:before:bg-black"></div>
<div class="dark:before:underline"></div>
`,
},
],
Expand Down Expand Up @@ -143,6 +143,10 @@ crosscheck(({ stable, oxide }) => {
text-align: center;
}
}
#app :is(.dark .dark\:before\:underline):before {
content: var(--tw-content);
text-decoration-line: underline;
}
#app :is(:is(.dark .dark\:focus\:text-left:focus)) {
text-align: left;
}
Expand Down Expand Up @@ -174,7 +178,6 @@ crosscheck(({ stable, oxide }) => {
`

return run(input, config).then((result) => {
console.log(result.css)
stable.expect(result.css).toMatchFormattedCss(css`
${defaults}
#app :is(.dark .dark\:before\:bg-black)::before {
Expand Down

0 comments on commit 1b92cb4

Please sign in to comment.