Skip to content

Commit 08211f5

Browse files
committed
test(core): drop null base-config arg to satisfy type-check on #346 test
1 parent b3e4df8 commit 08211f5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/core/tests/issue-346-color-funcs.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('issue #346: variables support all CSS color functions', () => {
1818
test.each(cases)('%s → variable.space = %s', (name, fn, expectedSpace) => {
1919
const css = new MasterCSS({
2020
variables: { color: { primary: fn } }
21-
}, null)
21+
})
2222
const v = css.variables.get('color-primary') as any
2323
expect(v).toBeDefined()
2424
expect(v.type).toBe('color')
@@ -33,7 +33,7 @@ describe('issue #346: variables support all CSS color functions', () => {
3333
soft: '$(color-primary)/.3'
3434
}
3535
}
36-
}, null)
36+
})
3737
const v = css.variables.get('color-soft') as any
3838
expect(v).toBeDefined()
3939
expect(v.alpha).toBe(0.3)
@@ -43,7 +43,7 @@ describe('issue #346: variables support all CSS color functions', () => {
4343
test('color-mix is preserved as a string variable (not a color)', () => {
4444
const css = new MasterCSS({
4545
variables: { color: { mix: 'color-mix(in oklch, red, blue)' } }
46-
}, null)
46+
})
4747
const v = css.variables.get('color-mix') as any
4848
expect(v).toBeDefined()
4949
// color-mix is currently parsed by the same color-function regex,

0 commit comments

Comments
 (0)