Skip to content

Commit d740c7b

Browse files
committed
Fix CS
1 parent 110c6f0 commit d740c7b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/index.test.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,9 @@ test('modifiers', async () => {
335335
test('legacy target', async () => {
336336
let config = {
337337
plugins: [typographyPlugin({ target: 'legacy' })],
338-
content: [{ raw: html`<div class="prose prose-h1:text-center prose-headings:text-ellipsis"></div>` }],
338+
content: [
339+
{ raw: html`<div class="prose prose-h1:text-center prose-headings:text-ellipsis"></div>` },
340+
],
339341
theme: {
340342
typography: {
341343
DEFAULT: {
@@ -712,7 +714,7 @@ test('element variants', async () => {
712714
.prose-hr\:border-t-2 :is(:where(hr):not(:where([class~='not-prose'] *))) {
713715
border-top-width: 2px;
714716
}
715-
.prose-lead\:italic :is(:where([class~="lead"]):not(:where([class~="not-prose"] *))) {
717+
.prose-lead\:italic :is(:where([class~='lead']):not(:where([class~='not-prose'] *))) {
716718
font-style: italic;
717719
}
718720
`
@@ -886,7 +888,7 @@ test('element variants with custom class name', async () => {
886888
.markdown-hr\:border-t-2 :is(:where(hr):not(:where([class~='not-markdown'] *))) {
887889
border-top-width: 2px;
888890
}
889-
.markdown-lead\:italic :is(:where([class~="lead"]):not(:where([class~="not-markdown"] *))) {
891+
.markdown-lead\:italic :is(:where([class~='lead']):not(:where([class~='not-markdown'] *))) {
890892
font-style: italic;
891893
}
892894
`
@@ -1025,7 +1027,7 @@ it('should not break with multiple selectors with pseudo elements using variants
10251027

10261028
return run(config).then((result) => {
10271029
expect(result.css).toIncludeCss(css`
1028-
.dark .dark\:prose :where(ol li, ul li):not(:where([class~="not-prose"] *))::before {
1030+
.dark .dark\:prose :where(ol li, ul li):not(:where([class~='not-prose'] *))::before {
10291031
color: red;
10301032
}
10311033
`)

0 commit comments

Comments
 (0)