1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+ exports [` json-importer async should not resolve Sass values to quoted strings 1` ] = `
4
+ "output {
5
+ contents : (\\" short-hex-color\\ " : #def , \\" short-hex-color-with-alpha\\ " : #def0 , \\" long-hex-color\\ " : #ddeeff , \\" long-hex-color-with-alpha\\ " : #ddeeff00 , \\" named-color\\ " : \\" red\\ " , \\" number\\ " : 16 , \\" number-with-percentage\\ " : 16 % , \\" number-with-word-unit\\ " : 16rem , \\" decimal\\ " : 12.34 , \\" decimal-with-percentage\\ " : 12.34 % , \\" decimal-with-word-unit\\ " : 12.34rem , \\" function-call\\ " : black , \\" string\\ " : \\" foo\\ " , \\" string-with-spaces\\ " : \\" who are you\\ " , \\" array\\ " : (16 , 16px , 16 % , 12.34 , 12.34px , 12.34 % , #def , black , \\" foo\\ " , \\" who are you\\ " ), \\" map\\ " : (\\" short-hex-color\\ " : #def , \\" short-hex-color-with-alpha\\ " : #def0 , \\" string\\ " : \\" foo\\ " , \\" string-with-spaces\\ " : \\" who are you\\ " )); }
6
+ "
7
+ ` ;
8
+
3
9
exports [` json-importer async should resolve flat json strings as Sass map 1` ] = `
4
10
"output {
5
11
contents : (\\" color\\ " : \\" red\\ " , \\" size\\ " : \\" small\\ " ); }
@@ -20,7 +26,13 @@ exports[`json-importer async should resolve json files in includePaths 1`] = `
20
26
21
27
exports [` json-importer async should resolve nested json strings as Sass map 1` ] = `
22
28
"output {
23
- contents : (\\" colors\\ " : (\\" red\\ " : \\" #f00\\ " , \\" blue\\ " : \\" #00f\\ " ), \\" sizes\\ " : (\\" small\\ " : \\" 16px\\ " , \\" big\\ " : \\" 30px\\ " )); }
29
+ contents : (\\" colors\\ " : (\\" red\\ " : #f00 , \\" blue\\ " : #00f ), \\" sizes\\ " : (\\" small\\ " : 16px , \\" big\\ " : 30px )); }
30
+ "
31
+ ` ;
32
+
33
+ exports [` json-importer sync should not resolve Sass values to quoted strings 1` ] = `
34
+ "output {
35
+ contents : (\\" short-hex-color\\ " : #def , \\" short-hex-color-with-alpha\\ " : #def0 , \\" long-hex-color\\ " : #ddeeff , \\" long-hex-color-with-alpha\\ " : #ddeeff00 , \\" named-color\\ " : \\" red\\ " , \\" number\\ " : 16 , \\" number-with-percentage\\ " : 16 % , \\" number-with-word-unit\\ " : 16rem , \\" decimal\\ " : 12.34 , \\" decimal-with-percentage\\ " : 12.34 % , \\" decimal-with-word-unit\\ " : 12.34rem , \\" function-call\\ " : black , \\" string\\ " : \\" foo\\ " , \\" string-with-spaces\\ " : \\" who are you\\ " , \\" array\\ " : (16 , 16px , 16 % , 12.34 , 12.34px , 12.34 % , #def , black , \\" foo\\ " , \\" who are you\\ " ), \\" map\\ " : (\\" short-hex-color\\ " : #def , \\" short-hex-color-with-alpha\\ " : #def0 , \\" string\\ " : \\" foo\\ " , \\" string-with-spaces\\ " : \\" who are you\\ " )); }
24
36
"
25
37
` ;
26
38
@@ -44,6 +56,6 @@ exports[`json-importer sync should resolve json files in includePaths 1`] = `
44
56
45
57
exports [` json-importer sync should resolve nested json strings as Sass map 1` ] = `
46
58
"output {
47
- contents : (\\" colors\\ " : (\\" red\\ " : \\ " #f00\\ " , \\" blue\\ " : \\ " #00f\\ " ), \\" sizes\\ " : (\\" small\\ " : \\ " 16px\\ " , \\" big\\ " : \\ " 30px\\ " )); }
59
+ contents : (\\" colors\\ " : (\\" red\\ " : #f00 , \\" blue\\ " : #00f ), \\" sizes\\ " : (\\" small\\ " : 16px , \\" big\\ " : 30px )); }
48
60
"
49
61
` ;
0 commit comments