Skip to content
Merged
Changes from 1 commit
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
Next Next commit
add failing test
  • Loading branch information
RobinMalfait committed Sep 25, 2024
commit ed88f718c1854446a07d0f5eeef2cecdc94ed41e
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ it("should not migrate `@import 'tailwindcss'`", async () => {
`)
})

it('should migrate the tailwind.css import', async () => {
expect(
await migrate(css`
@import 'tailwindcss/tailwind.css';
`),
).toEqual(css`
@import 'tailwindcss';
`)
})

it('should migrate the default @tailwind directives to a single import', async () => {
expect(
await migrate(css`
Expand Down