This commit is contained in:
Nathan Bierema 2021-06-14 18:15:02 -04:00
parent 8b9b4d905b
commit 34ef168ee8

View File

@ -127,14 +127,14 @@ test('createStyling (custom)', () => {
testClass: 'customClass', testClass: 'customClass',
testStyle: { height: 0 }, testStyle: { height: 0 },
testFunc: (styling: Styling, arg: string) => ({ testFunc: (styling: Styling, arg: string) => ({
className: `${styling.className} customClass--${arg}`, className: `${styling.className!} customClass--${arg}`,
style: { style: {
...styling.style, ...styling.style,
border: 0, border: 0,
}, },
}), }),
testFuncNoStyle: (styling: Styling, arg: string) => ({ testFuncNoStyle: (styling: Styling, arg: string) => ({
className: `${styling.className} customClass--${arg}`, className: `${styling.className!} customClass--${arg}`,
style: { style: {
...styling.style, ...styling.style,
border: 0, border: 0,