1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+ exports [` utils / cssSnapshots with file 'empty.module.less' createExports should create an exports file 1` ] = `
4
+ "declare const classes: {
5
+
6
+ } ;
7
+ export default classes;
8
+ "
9
+ ` ;
10
+
11
+ exports [` utils / cssSnapshots with file 'empty.module.less' getClasses should return an object matching expected CSS 1` ] = ` Object { } ` ;
12
+
3
13
exports [` utils / cssSnapshots with file 'empty.module.scss' createExports should create an exports file 1` ] = `
4
14
"declare const classes: {
5
15
@@ -36,6 +46,38 @@ Object {
36
46
}
37
47
` ;
38
48
49
+ exports [` utils / cssSnapshots with file 'test.module.less' createExports should create an exports file 1` ] = `
50
+ "declare const classes: {
51
+ ' nested-class-parent' : string ;
52
+ ' child-class' : string ;
53
+ ' selector-blue' : string ;
54
+ ' selector-green' : string ;
55
+ ' selector-red' : string ;
56
+ ' column-1' : string ;
57
+ ' column-2' : string ;
58
+ ' column-3' : string ;
59
+ ' column-4' : string ;
60
+ ' color-set' : string ;
61
+ } ;
62
+ export default classes;
63
+ "
64
+ ` ;
65
+
66
+ exports [` utils / cssSnapshots with file 'test.module.less' getClasses should return an object matching expected CSS 1` ] = `
67
+ Object {
68
+ " child-class" : " file__child-class---1mwoB" ,
69
+ " color-set" : " file__color-set---9sHH_" ,
70
+ " column-1" : " file__column-1---vHRb_" ,
71
+ " column-2" : " file__column-2---28y1r" ,
72
+ " column-3" : " file__column-3---1PsZw" ,
73
+ " column-4" : " file__column-4---2qaaI" ,
74
+ " nested-class-parent" : " file__nested-class-parent---_ft7G" ,
75
+ " selector-blue" : " file__selector-blue---3mslq" ,
76
+ " selector-green" : " file__selector-green---143xX" ,
77
+ " selector-red" : " file__selector-red---Gckob" ,
78
+ }
79
+ ` ;
80
+
39
81
exports [` utils / cssSnapshots with file 'test.module.scss' createExports should create an exports file 1` ] = `
40
82
"declare const classes: {
41
83
' local-class-inside-global' : string ;
@@ -61,21 +103,21 @@ export default classes;
61
103
62
104
exports [` utils / cssSnapshots with file 'test.module.scss' getClasses should return an object matching expected CSS 1` ] = `
63
105
Object {
64
- " child-class" : " file__child-class---1mwoB " ,
65
- " local-class" : " file__local-class---3KegX " ,
66
- " local-class-2" : " file__local-class-2---2h6qz " ,
67
- " local-class-inside-global" : " file__local-class-inside-global---2xH_Y " ,
68
- " local-class-inside-local" : " file__local-class-inside-local---QdL6b " ,
69
- " nested-class-parent" : " file__nested-class-parent---_ft7G " ,
70
- " nested-class-parent--extended" : " file__nested-class-parent--extended---1642l " ,
71
- " section-1" : " file__section-1---2EiKX " ,
72
- " section-2" : " file__section-2---2f4aZ " ,
73
- " section-3" : " file__section-3---R_Ilj " ,
74
- " section-4" : " file__section-4---3EjYO " ,
75
- " section-5" : " file__section-5---1DSe8 " ,
76
- " section-6" : " file__section-6---1RoVP " ,
77
- " section-7" : " file__section-7---l5yMj " ,
78
- " section-8" : " file__section-8---3FEWv " ,
79
- " section-9" : " file__section-9---1TFYE " ,
106
+ " child-class" : " file__child-class---1QWYM " ,
107
+ " local-class" : " file__local-class---3SW3k " ,
108
+ " local-class-2" : " file__local-class-2----c5z7 " ,
109
+ " local-class-inside-global" : " file__local-class-inside-global---1T0um " ,
110
+ " local-class-inside-local" : " file__local-class-inside-local---1Z9pB " ,
111
+ " nested-class-parent" : " file__nested-class-parent---3qXdF " ,
112
+ " nested-class-parent--extended" : " file__nested-class-parent--extended---qsVau " ,
113
+ " section-1" : " file__section-1---1IHCS " ,
114
+ " section-2" : " file__section-2---cLFhf " ,
115
+ " section-3" : " file__section-3---1ldKa " ,
116
+ " section-4" : " file__section-4---2u0CG " ,
117
+ " section-5" : " file__section-5---1lAYL " ,
118
+ " section-6" : " file__section-6---2YZ9I " ,
119
+ " section-7" : " file__section-7---3w-OF " ,
120
+ " section-8" : " file__section-8---3RB8g " ,
121
+ " section-9" : " file__section-9---3_Mtj " ,
80
122
}
81
123
` ;
0 commit comments