Skip to content

Commit 8e2a3df

Browse files
committed
use foo instead of lol
1 parent 1b651fc commit 8e2a3df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/prefix.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -615,10 +615,10 @@ test('does not prefix arbitrary group/peer classes', async () => {
615615
content: [
616616
{
617617
raw: html`
618-
<div class="tw-group tw-peer lol">
619-
<div class="group-[&.lol]:tw-flex"></div>
618+
<div class="tw-group tw-peer foo">
619+
<div class="group-[&.foo]:tw-flex"></div>
620620
</div>
621-
<div class="peer-[&.lol]:tw-flex"></div>
621+
<div class="peer-[&.foo]:tw-flex"></div>
622622
`,
623623
},
624624
],
@@ -632,8 +632,8 @@ test('does not prefix arbitrary group/peer classes', async () => {
632632
const result = await run(input, config)
633633

634634
expect(result.css).toMatchFormattedCss(css`
635-
.tw-group.lol .group-\[\&\.lol\]\:tw-flex,
636-
.tw-peer.lol ~ .peer-\[\&\.lol\]\:tw-flex {
635+
.tw-group.foo .group-\[\&\.foo\]\:tw-flex,
636+
.tw-peer.foo ~ .peer-\[\&\.foo\]\:tw-flex {
637637
display: flex;
638638
}
639639
`)

0 commit comments

Comments
 (0)