@@ -470,7 +470,7 @@ describe('Valid Nested CSS Module Usage from within node_modules', () => {
470470 expect (
471471 cssContent . replace ( / \/ \* .* ?\* \/ / g, '' ) . trim ( )
472472 ) . toMatchInlineSnapshot (
473- `".other2_other2__dYPgz{color:red}.other3_other3__7hgUE{color:violet}.other_className__OA8dV{background:red;color:#ff0 }.example_subClass__m6Tyy{background:blue}"`
473+ `".other2_other2__dYPgz{color:red}.other3_other3__7hgUE{color:violet}.other_className__OA8dV{background:red;color:yellow }.example_subClass__m6Tyy{background:blue}"`
474474 )
475475 }
476476 } )
@@ -528,7 +528,7 @@ describe('CSS Module Composes Usage (Basic)', () => {
528528 expect (
529529 cssContent . replace ( / \/ \* .* ?\* \/ / g, '' ) . trim ( )
530530 ) . toMatchInlineSnapshot (
531- `".index_className__jjcZ1{background:red;color:#ff0 }.index_subClass__eDzaW{background:blue}"`
531+ `".index_className__jjcZ1{background:red;color:yellow }.index_subClass__eDzaW{background:blue}"`
532532 )
533533 }
534534 } )
@@ -584,7 +584,7 @@ describe('CSS Module Composes Usage (External)', () => {
584584 expect (
585585 cssContent . replace ( / \/ \* .* ?\* \/ / g, '' ) . trim ( )
586586 ) . toMatchInlineSnapshot (
587- `".other_className__eZV4M{background:red;color:#ff0 }.index_subClass__eDzaW{background:blue}"`
587+ `".other_className__eZV4M{background:red;color:yellow }.index_subClass__eDzaW{background:blue}"`
588588 )
589589 }
590590 } )
@@ -648,7 +648,7 @@ describe('Dynamic Route CSS Module Usage', () => {
648648 } else {
649649 expect (
650650 cssContent . replace ( / \/ \* .* ?\* \/ / g, '' ) . trim ( )
651- ) . toMatchInlineSnapshot ( `"._post__home__yRmHz{background:red }"` )
651+ ) . toMatchInlineSnapshot ( `"._post__home__yRmHz{background:#f00 }"` )
652652 }
653653 } )
654654 }
@@ -717,7 +717,7 @@ describe('Catch-all Route CSS Module Usage', () => {
717717 expect (
718718 cssContent . replace ( / \/ \* .* ?\* \/ / g, '' ) . trim ( )
719719 ) . toMatchInlineSnapshot (
720- `".___post__home__e4zfx{background:red }.__55css_home__r8Rnq{color:green}"`
720+ `".___post__home__e4zfx{background:#f00 }.__55css_home__r8Rnq{color:green}"`
721721 )
722722 }
723723 } )
0 commit comments