Skip to content

Commit 786f16e

Browse files
authored
Add test
1 parent 30dd887 commit 786f16e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/css/test/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,14 +368,16 @@ test('flexBasis uses theme.sizes', () => {
368368
})
369369
})
370370

371-
test('fill and stroke use theme.colors', () => {
371+
test('fill and stroke and caretColor use theme.colors', () => {
372372
const style = css({
373373
fill: 'primary',
374374
stroke: 'secondary',
375+
caretColor: 'primary',
375376
})(theme)
376377
expect(style).toEqual({
377378
fill: 'tomato',
378379
stroke: 'cyan',
380+
caretColor: 'tomato',
379381
})
380382
})
381383

0 commit comments

Comments
 (0)