@@ -55,7 +55,7 @@ describe('style-macro', () => {
5555
5656"
5757` ) ;
58- expect ( js ) . toMatchInlineSnapshot ( ` " Jbs1 Jbpv1"` ) ;
58+ expect ( js ) . toMatchInlineSnapshot ( ' " Jbs1 Jbpv1"' ) ;
5959 } ) ;
6060
6161 it ( 'should support self references' , ( ) => {
@@ -117,7 +117,7 @@ describe('style-macro', () => {
117117"
118118` ) ;
119119
120- expect ( js ) . toMatchInlineSnapshot ( ` " _kc1 hc1 mCPFGYc1 lc1 SMBFGYc1 Rv1 ZjUQgKd1 -m_-mc1 -S_-Sv1"` ) ;
120+ expect ( js ) . toMatchInlineSnapshot ( ' " _kc1 hc1 mCPFGYc1 lc1 SMBFGYc1 Rv1 ZjUQgKd1 -m_-mc1 -S_-Sv1"' ) ;
121121 } ) ;
122122
123123 it ( 'should support allowed overrides' , ( ) => {
@@ -134,9 +134,9 @@ describe('style-macro', () => {
134134 color : 'green-400'
135135 } ) ;
136136
137- expect ( js ( ) ) . toMatchInlineSnapshot ( ` " gw1 pg1"` ) ;
138- expect ( overrides ) . toMatchInlineSnapshot ( ` " g8tmWqb1 pHJ3AUd1"` ) ;
139- expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ` " g8tmWqb1 pg1"` ) ;
137+ expect ( js ( ) ) . toMatchInlineSnapshot ( ' " gw1 pg1"' ) ;
138+ expect ( overrides ) . toMatchInlineSnapshot ( ' " g8tmWqb1 pHJ3AUd1"' ) ;
139+ expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ' " g8tmWqb1 pg1"' ) ;
140140 } ) ;
141141
142142 it ( 'should support allowed overrides for properties that expand into multiple' , ( ) => {
@@ -151,9 +151,9 @@ describe('style-macro', () => {
151151 translateX : 40
152152 } ) ;
153153
154- expect ( js ( ) ) . toMatchInlineSnapshot ( ` " -_7PloMd-B1 __Ya1"` ) ;
155- expect ( overrides ) . toMatchInlineSnapshot ( ` " -_7PloMd-D1 __Ya1"` ) ;
156- expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ` " -_7PloMd-D1 __Ya1"` ) ;
154+ expect ( js ( ) ) . toMatchInlineSnapshot ( ' " -_7PloMd-B1 __Ya1"' ) ;
155+ expect ( overrides ) . toMatchInlineSnapshot ( ' " -_7PloMd-D1 __Ya1"' ) ;
156+ expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ' " -_7PloMd-D1 __Ya1"' ) ;
157157 } ) ;
158158
159159 it ( 'should support allowed overrides for shorthands' , ( ) => {
@@ -168,9 +168,9 @@ describe('style-macro', () => {
168168 padding : 40
169169 } ) ;
170170
171- expect ( js ( ) ) . toMatchInlineSnapshot ( ` " Tk1 Qk1 Sk1 Rk1"` ) ;
172- expect ( overrides ) . toMatchInlineSnapshot ( ` " Tm1 Qm1 Sm1 Rm1"` ) ;
173- expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ` " Tm1 Qm1 Sm1 Rm1"` ) ;
171+ expect ( js ( ) ) . toMatchInlineSnapshot ( ' " Tk1 Qk1 Sk1 Rk1"' ) ;
172+ expect ( overrides ) . toMatchInlineSnapshot ( ' " Tm1 Qm1 Sm1 Rm1"' ) ;
173+ expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ' " Tm1 Qm1 Sm1 Rm1"' ) ;
174174 } ) ;
175175
176176 it ( "should support allowed overrides for values that aren't defined" , ( ) => {
@@ -185,9 +185,9 @@ describe('style-macro', () => {
185185 minWidth : 32
186186 } ) ;
187187
188- expect ( js ( ) ) . toMatchInlineSnapshot ( ` " gE1"` ) ;
189- expect ( overrides ) . toMatchInlineSnapshot ( ` " Nk1"` ) ;
190- expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ` " Nk1 gE1"` ) ;
188+ expect ( js ( ) ) . toMatchInlineSnapshot ( ' " gE1"' ) ;
189+ expect ( overrides ) . toMatchInlineSnapshot ( ' " Nk1"' ) ;
190+ expect ( js ( { } , overrides ) ) . toMatchInlineSnapshot ( ' " Nk1 gE1"' ) ;
191191 } ) ;
192192
193193 it ( 'should support runtime conditions' , ( ) => {
@@ -241,9 +241,9 @@ describe('style-macro', () => {
241241"
242242` ) ;
243243
244- expect ( js ( { } ) ) . toMatchInlineSnapshot ( ` " gH1 pt1"` ) ;
245- expect ( js ( { isHovered : true } ) ) . toMatchInlineSnapshot ( ` " gF1 po1"` ) ;
246- expect ( js ( { isPressed : true } ) ) . toMatchInlineSnapshot ( ` " gE1 pm1"` ) ;
244+ expect ( js ( { } ) ) . toMatchInlineSnapshot ( ' " gH1 pt1"' ) ;
245+ expect ( js ( { isHovered : true } ) ) . toMatchInlineSnapshot ( ' " gF1 po1"' ) ;
246+ expect ( js ( { isPressed : true } ) ) . toMatchInlineSnapshot ( ' " gE1 pm1"' ) ;
247247 } ) ;
248248
249249 it ( 'should support nested runtime conditions' , ( ) => {
@@ -284,10 +284,10 @@ describe('style-macro', () => {
284284
285285"
286286` ) ;
287- expect ( js ( { } ) ) . toMatchInlineSnapshot ( ` " gH1"` ) ;
288- expect ( js ( { isHovered : true } ) ) . toMatchInlineSnapshot ( ` " gF1"` ) ;
289- expect ( js ( { isSelected : true } ) ) . toMatchInlineSnapshot ( ` " g_h1"` ) ;
290- expect ( js ( { isSelected : true , isHovered : true } ) ) . toMatchInlineSnapshot ( ` " g31"` ) ;
287+ expect ( js ( { } ) ) . toMatchInlineSnapshot ( ' " gH1"' ) ;
288+ expect ( js ( { isHovered : true } ) ) . toMatchInlineSnapshot ( ' " gF1"' ) ;
289+ expect ( js ( { isSelected : true } ) ) . toMatchInlineSnapshot ( ' " g_h1"' ) ;
290+ expect ( js ( { isSelected : true , isHovered : true } ) ) . toMatchInlineSnapshot ( ' " g31"' ) ;
291291 } ) ;
292292
293293 it ( 'should support variant runtime conditions' , ( ) => {
@@ -301,9 +301,9 @@ describe('style-macro', () => {
301301 }
302302 } ) ;
303303
304- expect ( js ( { variant : 'accent' } ) ) . toMatchInlineSnapshot ( ` " gY1"` ) ;
305- expect ( js ( { variant : 'primary' } ) ) . toMatchInlineSnapshot ( ` " gjQquMe1"` ) ;
306- expect ( js ( { variant : 'secondary' } ) ) . toMatchInlineSnapshot ( ` " gw1"` ) ;
304+ expect ( js ( { variant : 'accent' } ) ) . toMatchInlineSnapshot ( ' " gY1"' ) ;
305+ expect ( js ( { variant : 'primary' } ) ) . toMatchInlineSnapshot ( ' " gjQquMe1"' ) ;
306+ expect ( js ( { variant : 'secondary' } ) ) . toMatchInlineSnapshot ( ' " gw1"' ) ;
307307 } ) ;
308308
309309 it ( 'supports runtime conditions nested inside css conditions' , ( ) => {
@@ -337,16 +337,16 @@ describe('style-macro', () => {
337337"
338338` ) ;
339339
340- expect ( js ( { } ) ) . toMatchInlineSnapshot ( ` " plb1"` ) ;
341- expect ( js ( { isSelected : true } ) ) . toMatchInlineSnapshot ( ` " ple1"` ) ;
340+ expect ( js ( { } ) ) . toMatchInlineSnapshot ( ' " plb1"' ) ;
341+ expect ( js ( { isSelected : true } ) ) . toMatchInlineSnapshot ( ' " ple1"' ) ;
342342 } ) ;
343343
344344 it ( 'should expand shorthand properties to longhands' , ( ) => {
345345 let { js, css} = testStyle ( {
346346 padding : 24
347347 } ) ;
348348
349- expect ( js ) . toMatchInlineSnapshot ( ` " Th1 Qh1 Sh1 Rh1"` ) ;
349+ expect ( js ) . toMatchInlineSnapshot ( ' " Th1 Qh1 Sh1 Rh1"' ) ;
350350 expect ( css ) . toMatchInlineSnapshot ( `
351351"@layer _.a;
352352
0 commit comments