Skip to content

Commit 1666571

Browse files
committed
✅ test: update failed test suites for variants
1 parent 6ceacb5 commit 1666571

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

packages/tailwindest/__tests__/get.variants.test.ts

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,9 @@ describe(label.unit("GetVariants - variants: with boolean | number"), () => {
227227
onlyTrue?: true
228228
onlyFalse?: false
229229
numbers?: 1 | 2
230-
never?: "Error: typeof variants key should be <string> | <number> | <'true' | 'false'>"
231-
withNever?:
232-
| "withNever"
233-
| "Error: typeof variants key should be <string> | <number> | <'true' | 'false'>"
234-
combinations?:
235-
| 1
236-
| boolean
237-
| "withNever"
238-
| "Error: typeof variants key should be <string> | <number> | <'true' | 'false'>"
230+
never?: never
231+
withNever?: "withNever"
232+
combinations?: 1 | boolean | "withNever"
239233
}
240234
>
241235
>(true)
@@ -252,15 +246,9 @@ describe(label.unit("GetVariants - variants: with boolean | number"), () => {
252246
onlyTrue?: true
253247
onlyFalse?: false
254248
numbers?: 1 | 2
255-
never?: "Error: typeof variants key should be <string> | <number> | <'true' | 'false'>"
256-
withNever?:
257-
| "withNever"
258-
| "Error: typeof variants key should be <string> | <number> | <'true' | 'false'>"
259-
combinations?:
260-
| 1
261-
| boolean
262-
| "withNever"
263-
| "Error: typeof variants key should be <string> | <number> | <'true' | 'false'>"
249+
never?: never
250+
withNever?: "withNever"
251+
combinations?: 1 | boolean | "withNever"
264252
}
265253
>
266254
>(true)

0 commit comments

Comments
 (0)