Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/oxfmt/test/tailwindcss/tailwindcss.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ describe("Tailwind CSS Sorting with `experimentalSortImports` enabled", () => {
});

describe("Tailwind CSS Sorting works with other options", () => {
test("should keep quotes with `singleQuote: false`", async () => {
test("should keep quotes with `singleQuote: true`", async () => {
const input = `
<div className={clsx('text-md before:content-["hello"]')}>Hello</div>;
<div className={clsx("text-md before:content-['hello']")}>Hello</div>;
Expand All @@ -1061,7 +1061,7 @@ describe("Tailwind CSS Sorting works with other options", () => {
experimentalTailwindcss: {
functions: ["clsx"],
},
singleQuote: false,
singleQuote: true,
});

expect(result.code).toMatchInlineSnapshot(`
Expand Down
Loading