Skip to content

Commit bdb3444

Browse files
committed
Fix prettier
1 parent 6bb125a commit bdb3444

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/append-classes.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe("append-classes", () => {
1212
expect(transformedCode).toEqual(
1313
expect.objectContaining({
1414
code: expect.stringContaining(`className: "test-id `),
15-
})
15+
}),
1616
);
1717
});
1818

@@ -21,18 +21,18 @@ describe("append-classes", () => {
2121
expect(transformedCode).toEqual(
2222
expect.objectContaining({
2323
code: expect.stringContaining(`className: "test-id `),
24-
})
24+
}),
2525
);
2626
});
2727

2828
it("should work for back ticks", async () => {
2929
const transformedCode = appendClassForReact("test-id")(
30-
COMPILED_BACK_TICK_JSX
30+
COMPILED_BACK_TICK_JSX,
3131
);
3232
expect(transformedCode).toEqual(
3333
expect.objectContaining({
3434
code: expect.stringContaining("className: `test-id "),
35-
})
35+
}),
3636
);
3737
});
3838
});
@@ -43,7 +43,7 @@ describe("append-classes", () => {
4343
expect(transformedCode).toEqual(
4444
expect.objectContaining({
4545
code: expect.stringContaining(`class="test-id `),
46-
})
46+
}),
4747
);
4848
});
4949
});

src/postcss/prefix-tailwind.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe("prefixPlugin", () => {
5454
(output as any).Root({
5555
walkRules,
5656
});
57-
}
57+
},
5858
);
5959

6060
test.each([{ ignore: ["ignore"] }, { ignore: "ignore" }])(
@@ -76,7 +76,7 @@ describe("prefixPlugin", () => {
7676
(output as any).Root({
7777
walkRules,
7878
});
79-
}
79+
},
8080
);
8181

8282
it("should return false if there are no selectors", async () => {

src/postcss/prefix-tailwind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AcceptedPlugin } from "postcss";
77
*/
88
const classMatchesTest = (
99
cssClass: string,
10-
test: RegExp | RegExp[] | string | string[]
10+
test: RegExp | RegExp[] | string | string[],
1111
): boolean => {
1212
cssClass = cssClass.trim();
1313

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default defineConfig({
4040
reporter: ["text", "cobertura", "html"],
4141
statements: 86.06,
4242
branches: 93.75,
43-
functions: 80.00,
43+
functions: 80.0,
4444
lines: 86.06,
4545
exclude: ["**/src/test/**", "**/*.test.{ts,tsx}"],
4646
},

0 commit comments

Comments
 (0)