1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports [` create can select a nested property 1` ] = ` "{ \\" b\\ " :{\\" c\\ " :true }} "` ;
3
+ exports [` create can select a nested property 1` ] = `
4
+ "{ \\" b\\ " :{\\" c\\ " :true }}
5
+ "
6
+ ` ;
4
7
5
- exports [` create can select a nested property 2` ] = ` "{ \\" c\\ " :true } "` ;
8
+ exports [` create can select a nested property 2` ] = `
9
+ "{ \\" c\\ " :true }
10
+ "
11
+ ` ;
6
12
7
- exports [` create can select a nested property 3` ] = ` "true"` ;
13
+ exports [` create can select a nested property 3` ] = `
14
+ "true
15
+ "
16
+ ` ;
8
17
9
- exports [` create prints JSON format 1` ] = ` "{ \\" foo\\ " :true } "` ;
18
+ exports [` create prints JSON format 1` ] = `
19
+ "{ \\" foo\\ " :true }
20
+ "
21
+ ` ;
10
22
11
- exports [` create prints JSON5 format 1` ] = ` "{ foo :true } "` ;
23
+ exports [` create prints JSON5 format 1` ] = `
24
+ "{ foo :true }
25
+ "
26
+ ` ;
12
27
13
28
exports [` create prints TOML format 1` ] = `
14
29
"foo = true
30
+
15
31
"
16
32
` ;
17
33
18
34
exports [` create prints YAML format 1` ] = `
19
35
"foo: true
36
+
20
37
"
21
38
` ;
22
39
23
- exports [` create prints raw format 1` ] = ` "true"` ;
40
+ exports [` create prints raw format 1` ] = `
41
+ "true
42
+ "
43
+ ` ;
24
44
25
- exports [` create prints raw format 2` ] = ` "83.2"` ;
45
+ exports [` create prints raw format 2` ] = `
46
+ "83.2
47
+ "
48
+ ` ;
26
49
27
- exports [` create prints raw format 3` ] = ` "foo"` ;
50
+ exports [` create prints raw format 3` ] = `
51
+ "foo
52
+ "
53
+ ` ;
28
54
29
55
exports [` create prints simple app-config file 1` ] = `
30
56
"foo: true
57
+
31
58
"
32
59
` ;
33
60
34
- exports [` create uses environmentOverride option 1` ] = ` "APP_CONFIG_VAL=42"` ;
61
+ exports [` create uses environmentOverride option 1` ] = `
62
+ "APP_CONFIG_VAL=42
63
+ "
64
+ ` ;
35
65
36
- exports [` create uses environmentOverride option 2` ] = ` "APP_CONFIG_VAL=88"` ;
66
+ exports [` create uses environmentOverride option 2` ] = `
67
+ "APP_CONFIG_VAL=88
68
+ "
69
+ ` ;
37
70
38
71
exports [` create uses environmentVariableName option 1` ] = `
39
72
"foo: true
73
+
40
74
"
41
75
` ;
42
76
43
77
exports [` create uses fileNameBase option 1` ] = `
44
78
"foo: bar
79
+
45
80
"
46
81
` ;
47
82
@@ -50,6 +85,7 @@ exports[`create-schema can select a nested property 1`] = `
50
85
properties:
51
86
foo:
52
87
type: boolean
88
+
53
89
"
54
90
` ;
55
91
@@ -58,19 +94,27 @@ exports[`create-schema can select a nested property 2`] = `
58
94
properties:
59
95
bar:
60
96
type: boolean
97
+
61
98
"
62
99
` ;
63
100
64
- exports [` create-schema prints JSON format 1` ] = ` "{ \\" type\\ " :\\" object\\ " ,\\" properties\\ " :{\\" foo\\ " :{\\" type\\ " :\\" boolean\\ " }},\\" $schema\\ " :\\" http://json-schema.org/draft-07/schema#\\ " } "` ;
101
+ exports [` create-schema prints JSON format 1` ] = `
102
+ "{ \\" type\\ " :\\" object\\ " ,\\" properties\\ " :{\\" foo\\ " :{\\" type\\ " :\\" boolean\\ " }},\\" $schema\\ " :\\" http://json-schema.org/draft-07/schema#\\ " }
103
+ "
104
+ ` ;
65
105
66
- exports [` create-schema prints JSON5 format 1` ] = ` "{ type :' object' ,properties :{foo:{type:' boolean' }},$schema :' http://json-schema.org/draft-07/schema#' } "` ;
106
+ exports [` create-schema prints JSON5 format 1` ] = `
107
+ "{ type :' object' ,properties :{foo:{type:' boolean' }},$schema :' http://json-schema.org/draft-07/schema#' }
108
+ "
109
+ ` ;
67
110
68
111
exports [` create-schema prints TOML format 1` ] = `
69
112
"type = \\ "object\\ "
70
113
\\ "$schema\\ " = \\ "http://json-schema.org/draft-07/schema#\\ "
71
114
72
115
[properties.foo]
73
116
type = \\ "boolean\\ "
117
+
74
118
"
75
119
` ;
76
120
@@ -80,6 +124,7 @@ properties:
80
124
foo:
81
125
type: boolean
82
126
$schema: 'http://json-schema.org/draft-07/schema#'
127
+
83
128
"
84
129
` ;
85
130
@@ -89,25 +134,43 @@ properties:
89
134
foo:
90
135
type: boolean
91
136
$schema: 'http://json-schema.org/draft-07/schema#'
137
+
92
138
"
93
139
` ;
94
140
95
141
exports [` vars aliases a variable 1` ] = `
96
142
"APP_CONFIG_FOO=true
97
- BAR=true"
143
+ BAR=true
144
+ "
98
145
` ;
99
146
100
- exports [` vars filters list of variables with --only 1` ] = ` "FOO=true"` ;
147
+ exports [` vars filters list of variables with --only 1` ] = `
148
+ "FOO=true
149
+ "
150
+ ` ;
101
151
102
- exports [` vars prints only nonSecrets without --secrets option 1` ] = ` "APP_CONFIG_NON_SECRET=true"` ;
152
+ exports [` vars prints only nonSecrets without --secrets option 1` ] = `
153
+ "APP_CONFIG_NON_SECRET=true
154
+ "
155
+ ` ;
103
156
104
157
exports [` vars prints only nonSecrets without --secrets option 2` ] = `
105
158
"APP_CONFIG_SECRET=true
106
- APP_CONFIG_NON_SECRET=true"
159
+ APP_CONFIG_NON_SECRET=true
160
+ "
107
161
` ;
108
162
109
- exports [` vars prints simple app-config file 1` ] = ` "APP_CONFIG_FOO=true"` ;
163
+ exports [` vars prints simple app-config file 1` ] = `
164
+ "APP_CONFIG_FOO=true
165
+ "
166
+ ` ;
110
167
111
- exports [` vars renames a variable 1` ] = ` "BAR=true"` ;
168
+ exports [` vars renames a variable 1` ] = `
169
+ "BAR=true
170
+ "
171
+ ` ;
112
172
113
- exports [` vars uses provided environment variable prefix 1` ] = ` "MY_CONFIG_FOO=true"` ;
173
+ exports [` vars uses provided environment variable prefix 1` ] = `
174
+ "MY_CONFIG_FOO=true
175
+ "
176
+ ` ;
0 commit comments