Skip to content

Commit

Permalink
Add source map test for at-rule variants
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Dec 1, 2023
1 parent 2aedd64 commit f49429e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/source-maps.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ test('components have source maps', async () => {

test('source maps for layer rules are not rewritten to point to @tailwind directives', async () => {
let config = {
content: [{ raw: `font-normal foo hover:foo` }],
content: [{ raw: `font-normal foo hover:foo lg:foo` }],
}

let utilitiesFile = postcss.parse(
Expand Down Expand Up @@ -481,6 +481,11 @@ test('source maps for layer rules are not rewritten to point to @tailwind direct
"6:0 -> 6:0",
"7:2-23 -> 7:2-23",
"8:0 -> 8:0",
"10:0 -> 10:0",
"11:2 -> 11:2",
"12:4-25 -> 12:4-25",
"13:2 -> 13:2",
"14:0 -> 14:0",
]
`)
})
Expand Down

0 comments on commit f49429e

Please sign in to comment.