@@ -186,6 +186,7 @@ describe('getCustomTheme', () => {
186186describe ( 'generateCSSVars' , ( ) => {
187187 it ( 'should not generate CSS variables for an empty theme' , ( ) => {
188188 const theme = {
189+ name : 'test' ,
189190 palette : {
190191 light : { } ,
191192 dark : { } ,
@@ -198,14 +199,17 @@ describe('generateCSSVars', () => {
198199
199200 it ( 'should generate CSS variables for a given theme' , ( ) => {
200201 const theme = {
202+ name : 'test' ,
201203 palette : {
202204 light : { } ,
203205 dark : {
204206 enabled : 'system' ,
205207 } ,
206208 } ,
207- rippleEffect : true ,
208- formHighlight : true ,
209+ config : {
210+ rippleEffect : true ,
211+ formHighlight : true ,
212+ } ,
209213 borderWidth : {
210214 sm : '4px' ,
211215 } ,
@@ -309,6 +313,7 @@ describe('injectCSS', () => {
309313describe ( 'generateGlobalThemeCSS' , ( ) => {
310314 it ( 'should generate global CSS for a given theme' , ( ) => {
311315 const theme = {
316+ name : 'test' ,
312317 palette : {
313318 light : { } ,
314319 dark : {
@@ -339,6 +344,7 @@ describe('generateGlobalThemeCSS', () => {
339344
340345 it ( 'should generate global CSS for a given theme with light palette' , ( ) => {
341346 const theme = {
347+ name : 'test' ,
342348 palette : {
343349 light : {
344350 color : {
@@ -425,6 +431,7 @@ describe('generateGlobalThemeCSS', () => {
425431
426432 it ( 'should not include component or palette variables in global CSS' , ( ) => {
427433 const theme = {
434+ name : 'test' ,
428435 palette : {
429436 light : { } ,
430437 dark : {
@@ -479,6 +486,7 @@ describe('generateGlobalThemeCSS', () => {
479486
480487 it ( 'should generate global CSS for a given theme with dark palette enabled for system preference' , ( ) => {
481488 const theme = {
489+ name : 'test' ,
482490 palette : {
483491 light : { } ,
484492 dark : {
@@ -598,6 +606,7 @@ describe('generateColorClasses', () => {
598606
599607 it ( 'should generate color classes for a given theme' , ( ) => {
600608 const theme = {
609+ name : 'test' ,
601610 palette : {
602611 light : {
603612 color : {
0 commit comments