Skip to content

Commit 9ec6242

Browse files
committed
Speed up @apply migration test
1 parent b4e3b50 commit 9ec6242

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/@tailwindcss-upgrade/src/codemods/css/migrate-at-apply.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ async function migrate(input: string, config: Config = {}) {
1313
let designSystem = await __unstable__loadDesignSystem(
1414
css`
1515
@import 'tailwindcss';
16+
17+
/* TODO(perf): Only here to speed up the tests */
18+
@theme {
19+
--*: initial;
20+
}
1621
`,
1722
{ base: __dirname },
1823
)
@@ -96,6 +101,10 @@ it(
96101
designSystem: await __unstable__loadDesignSystem(
97102
css`
98103
@import 'tailwindcss' prefix(tw);
104+
/* TODO(perf): Only here to speed up the tests */
105+
@theme {
106+
--*: initial;
107+
}
99108
`,
100109
{ base: __dirname },
101110
),

0 commit comments

Comments
 (0)