Skip to content

Commit ddd48b7

Browse files
committed
Fix tests
1 parent 4bea5c7 commit ddd48b7

File tree

1 file changed

+2
-0
lines changed
  • packages/tailwindcss-language-service/src/util/rewriting

1 file changed

+2
-0
lines changed

packages/tailwindcss-language-service/src/util/rewriting/index.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ test('replacing CSS variables with their fallbacks (when they have them)', () =>
1414
let state: State = {
1515
enabled: true,
1616
designSystem: {
17+
theme: { prefix: null } as any,
1718
resolveThemeValue: (name) => map.get(name) ?? null,
1819
} as DesignSystem,
1920
}
@@ -80,6 +81,7 @@ test('Inlining calc expressions using the design system', () => {
8081
let state: State = {
8182
enabled: true,
8283
designSystem: {
84+
theme: { prefix: null } as any,
8385
resolveThemeValue: (name) => map.get(name) ?? null,
8486
} as DesignSystem,
8587
}

0 commit comments

Comments
 (0)