@@ -20,6 +20,72 @@ export default classes;
2020
2121exports [` utils / cssSnapshots with file 'empty.module.scss' getClasses should return an object matching expected CSS 1` ] = ` Object { } ` ;
2222
23+ exports [` utils / cssSnapshots with file 'import.module.css' createExports should create an exports file 1` ] = `
24+ "declare const classes: {
25+ ' classA' : string ;
26+ ' ClassB' : string ;
27+ ' class-c' : string ;
28+ ' class_d' : string ;
29+ ' parent' : string ;
30+ ' childA' : string ;
31+ ' childB' : string ;
32+ ' nestedChild' : string ;
33+ } ;
34+ export default classes;
35+ export const classA: string;
36+ export const ClassB: string;
37+ export const parent: string;
38+ export const childA: string;
39+ export const childB: string;
40+ export const nestedChild: string;
41+ "
42+ ` ;
43+
44+ exports [` utils / cssSnapshots with file 'import.module.css' getClasses should return an object matching expected CSS 1` ] = `
45+ Object {
46+ " ClassB" : " import-module__ClassB---2LsIz" ,
47+ " childA" : " import-module__childA---2AUKk" ,
48+ " childB" : " import-module__childB---1z-Zh" ,
49+ " class-c" : " import-module__class-c---2JDAJ" ,
50+ " classA" : " import-module__classA---2fO5r" ,
51+ " class_d" : " import-module__class_d---2Dims" ,
52+ " nestedChild" : " import-module__nestedChild---1ZDxw" ,
53+ " parent" : " import-module__parent---2kdvO" ,
54+ }
55+ ` ;
56+
57+ exports [` utils / cssSnapshots with file 'import.module.less' createExports should create an exports file 1` ] = `
58+ "declare const classes: {
59+ ' nested-class-parent' : string ;
60+ ' child-class' : string ;
61+ ' selector-blue' : string ;
62+ ' selector-green' : string ;
63+ ' selector-red' : string ;
64+ ' column-1' : string ;
65+ ' column-2' : string ;
66+ ' column-3' : string ;
67+ ' column-4' : string ;
68+ ' color-set' : string ;
69+ } ;
70+ export default classes;
71+ "
72+ ` ;
73+
74+ exports [` utils / cssSnapshots with file 'import.module.less' getClasses should return an object matching expected CSS 1` ] = `
75+ Object {
76+ " child-class" : " import-module__child-class---2XACw" ,
77+ " color-set" : " import-module__color-set---9xoPb" ,
78+ " column-1" : " import-module__column-1---3R-BM" ,
79+ " column-2" : " import-module__column-2---J0ZdX" ,
80+ " column-3" : " import-module__column-3---3_589" ,
81+ " column-4" : " import-module__column-4---SlPDz" ,
82+ " nested-class-parent" : " import-module__nested-class-parent---14g9m" ,
83+ " selector-blue" : " import-module__selector-blue---2JSaB" ,
84+ " selector-green" : " import-module__selector-green---1cLL8" ,
85+ " selector-red" : " import-module__selector-red---2T6zy" ,
86+ }
87+ ` ;
88+
2389exports [` utils / cssSnapshots with file 'test.module.css' createExports should create an exports file 1` ] = `
2490"declare const classes: {
2591 ' classA' : string ;
@@ -43,14 +109,14 @@ export const nestedChild: string;
43109
44110exports [` utils / cssSnapshots with file 'test.module.css' getClasses should return an object matching expected CSS 1` ] = `
45111Object {
46- " ClassB" : " file__ClassB---2bPVi " ,
47- " childA" : " file__childA---1hjQD " ,
48- " childB" : " file__childB---pq4Ks " ,
49- " class-c" : " file__class- c---DZ1TD " ,
50- " classA" : " file__classA---2xcnJ " ,
51- " class_d" : " file__class_d---1mwNi " ,
52- " nestedChild" : " file__nestedChild---2d15b " ,
53- " parent" : " file__parent---1ATMj " ,
112+ " ClassB" : " test-module__ClassB---G7fhY " ,
113+ " childA" : " test-module__childA---26dwC " ,
114+ " childB" : " test-module__childB---13lLy " ,
115+ " class-c" : " test-module__class- c---3Ouzp " ,
116+ " classA" : " test-module__classA---KAOw8 " ,
117+ " class_d" : " test-module__class_d---3pjDe " ,
118+ " nestedChild" : " test-module__nestedChild---v7rOR " ,
119+ " parent" : " test-module__parent---2tsUX " ,
54120}
55121` ;
56122
@@ -73,16 +139,16 @@ export default classes;
73139
74140exports [` utils / cssSnapshots with file 'test.module.less' getClasses should return an object matching expected CSS 1` ] = `
75141Object {
76- " child-class" : " file__child- class---1mwoB " ,
77- " color-set" : " file__color- set---9sHH_ " ,
78- " column-1" : " file__column- 1---vHRb_ " ,
79- " column-2" : " file__column- 2---28y1r " ,
80- " column-3" : " file__column- 3---1PsZw " ,
81- " column-4" : " file__column- 4---2qaaI " ,
82- " nested-class-parent" : " file__nested- class-parent---_ft7G " ,
83- " selector-blue" : " file__selector- blue---3mslq " ,
84- " selector-green" : " file__selector- green---143xX " ,
85- " selector-red" : " file__selector- red---Gckob " ,
142+ " child-class" : " test-module__child- class---1au0d " ,
143+ " color-set" : " test-module__color- set---bEXmh " ,
144+ " column-1" : " test-module__column- 1---5hXb3 " ,
145+ " column-2" : " test-module__column- 2---2ykNv " ,
146+ " column-3" : " test-module__column- 3---2JnAp " ,
147+ " column-4" : " test-module__column- 4---SG3xj " ,
148+ " nested-class-parent" : " test-module__nested- class-parent---2jIpC " ,
149+ " selector-blue" : " test-module__selector- blue---2kUKa " ,
150+ " selector-green" : " test-module__selector- green---hMr6S " ,
151+ " selector-red" : " test-module__selector- red---2hf4j " ,
86152}
87153` ;
88154
@@ -115,25 +181,25 @@ export default classes;
115181
116182exports [` utils / cssSnapshots with file 'test.module.scss' getClasses should return an object matching expected CSS 1` ] = `
117183Object {
118- " child-class" : " file__child- class---1QWYM " ,
119- " class-with-mixin" : " file__class- with-mixin---39EVY " ,
120- " const" : " file__const---MIe_0 " ,
121- " default" : " file__default---2RWlj " ,
122- " local-class" : " file__local- class---3SW3k " ,
123- " local-class-2" : " file__local- class-2----c5z7 " ,
124- " local-class-inside-global" : " file__local- class-inside-global---1T0um " ,
125- " local-class-inside-local" : " file__local- class-inside-local---1Z9pB " ,
126- " nested-class-parent" : " file__nested- class-parent---3qXdF " ,
127- " nested-class-parent--extended" : " file__nested- class-parent--extended---qsVau " ,
128- " reserved-words" : " file__reserved- words---_rrID " ,
129- " section-1" : " file__section- 1---1IHCS " ,
130- " section-2" : " file__section- 2---cLFhf " ,
131- " section-3" : " file__section- 3---1ldKa " ,
132- " section-4" : " file__section- 4---2u0CG " ,
133- " section-5" : " file__section- 5---1lAYL " ,
134- " section-6" : " file__section- 6---2YZ9I " ,
135- " section-7" : " file__section- 7---3w-OF " ,
136- " section-8" : " file__section- 8---3RB8g " ,
137- " section-9" : " file__section- 9---3_Mtj " ,
184+ " child-class" : " test-module__child- class---s-_Mc " ,
185+ " class-with-mixin" : " test-module__class- with-mixin---1JqB_ " ,
186+ " const" : " test-module__const---28kKv " ,
187+ " default" : " test-module__default---8gLb1 " ,
188+ " local-class" : " test-module__local- class---1Ju3l " ,
189+ " local-class-2" : " test-module__local- class-2---3aSgy " ,
190+ " local-class-inside-global" : " test-module__local- class-inside-global---IVh9J " ,
191+ " local-class-inside-local" : " test-module__local- class-inside-local---1LKIi " ,
192+ " nested-class-parent" : " test-module__nested- class-parent---2LnTV " ,
193+ " nested-class-parent--extended" : " test-module__nested- class-parent--extended---1j85b " ,
194+ " reserved-words" : " test-module__reserved- words---1mM1m " ,
195+ " section-1" : " test-module__section- 1---11Ic3 " ,
196+ " section-2" : " test-module__section- 2---1Uiwc " ,
197+ " section-3" : " test-module__section- 3---2eZeM " ,
198+ " section-4" : " test-module__section- 4---3m8sf " ,
199+ " section-5" : " test-module__section- 5---1MTwN " ,
200+ " section-6" : " test-module__section- 6---szUAt " ,
201+ " section-7" : " test-module__section- 7---2DOBJ " ,
202+ " section-8" : " test-module__section- 8---3qav2 " ,
203+ " section-9" : " test-module__section- 9---2EMR_ " ,
138204}
139205` ;
0 commit comments