Skip to content

Fix extraction from template literal/function with array #7481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 1, 2022
Prev Previous commit
Next Next commit
test: add dynamic class test in js single quote
  • Loading branch information
SamuelAlev committed Feb 17, 2022
commit cde27bae2df7925a77d67bb907c9252581a66de8
8 changes: 6 additions & 2 deletions tests/default-extractor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ const htmlExamples = html`
"normal-case": true,
'ml-0.5': true,
'ml-0.5': true,
"h-[106px]": true,
"h-[107px]": true
'h-[106px]': true,
'h-[107px]': true
"h-[108px]": true,
"h-[109px]": true
}
</script>
`
Expand Down Expand Up @@ -102,6 +104,8 @@ const includes = [
`h-[105px]`,
`h-[106px]`,
`h-[107px]`,
`h-[108px]`,
`h-[109px]`,
`uppercase`,
`lowercase`,
`normal-case`,
Expand Down