diff --git a/test/__snapshots__/preset-attributify.test.ts.snap b/test/__snapshots__/preset-attributify.test.ts.snap index ec6b06f87a..420a7dba08 100644 --- a/test/__snapshots__/preset-attributify.test.ts.snap +++ b/test/__snapshots__/preset-attributify.test.ts.snap @@ -1,43 +1,5 @@ // Vitest Snapshot v1 -exports[`attributify > autocomplete extractor 5`] = ` -" - -" -`; - exports[`attributify > compatible with full controlled rules 1`] = ` "/* layer: default */ diff --git a/test/__snapshots__/preset-mini.test.ts.snap b/test/__snapshots__/preset-mini.test.ts.snap index bc6723d4b7..504df39c93 100644 --- a/test/__snapshots__/preset-mini.test.ts.snap +++ b/test/__snapshots__/preset-mini.test.ts.snap @@ -412,7 +412,9 @@ div:hover .group-\\\\[div\\\\:hover\\\\]-\\\\[combinator\\\\:test-4\\\\]{combina .text-\\\\$variable{color:var(--variable);} .text-black\\\\/10{color:rgba(0,0,0,0.1);} .text-red-200\\\\/10{color:rgba(254,202,202,0.1);} +.text-red-300\\\\:20, .text-red-300\\\\/20{color:rgba(252,165,165,0.2);} +.text-red\\\\:20{color:rgba(248,113,113,0.2);} .text-red2{--un-text-opacity:1;color:rgba(254,202,202,var(--un-text-opacity));} .text-rose{--un-text-opacity:1;color:rgba(251,113,133,var(--un-text-opacity));} .placeholder-color-opacity-60::placeholder{--un-text-opacity:0.6;} diff --git a/test/assets/preset-mini-targets.ts b/test/assets/preset-mini-targets.ts index fbbc7e6c7f..ad4ec38e2e 100644 --- a/test/assets/preset-mini-targets.ts +++ b/test/assets/preset-mini-targets.ts @@ -175,6 +175,8 @@ export const presetMiniTargets: string[] = [ 'text-red-100', 'text-red-200/10', 'text-red-300/20', + 'text-red-300:20', + 'text-red:20', 'text-red100', 'text-red2', 'text-opacity-[13.3333333%]', diff --git a/test/preset-attributify.test.ts b/test/preset-attributify.test.ts index 69dbb06ec8..610881a0bf 100644 --- a/test/preset-attributify.test.ts +++ b/test/preset-attributify.test.ts @@ -170,8 +170,6 @@ describe('attributify', () => { expect(fixture1.slice(reversed.start, reversed.end)) .toMatchInlineSnapshot('"blue-400"') - expect(fixture1.slice(0, reversed.start) + reversed.replacement + fixture1.slice(reversed.end)) - .toMatchSnapshot() }) test('compatible with full controlled rules', async () => {