@@ -39,7 +39,7 @@ describe('loadConfig', () => {
39
39
)
40
40
41
41
expect ( config ) . toMatchInlineSnapshot ( `
42
- Object {
42
+ {
43
43
"*": "mytask",
44
44
}
45
45
` )
@@ -54,7 +54,7 @@ describe('loadConfig', () => {
54
54
)
55
55
56
56
expect ( config ) . toMatchInlineSnapshot ( `
57
- Object {
57
+ {
58
58
"*": "mytask",
59
59
}
60
60
` )
@@ -69,7 +69,7 @@ describe('loadConfig', () => {
69
69
)
70
70
71
71
expect ( config ) . toMatchInlineSnapshot ( `
72
- Object {
72
+ {
73
73
"*.css": [Function],
74
74
"*.js": [Function],
75
75
}
@@ -85,7 +85,7 @@ describe('loadConfig', () => {
85
85
)
86
86
87
87
expect ( config ) . toMatchInlineSnapshot ( `
88
- Object {
88
+ {
89
89
"*.css": [Function],
90
90
"*.js": [Function],
91
91
}
@@ -101,7 +101,7 @@ describe('loadConfig', () => {
101
101
)
102
102
103
103
expect ( config ) . toMatchInlineSnapshot ( `
104
- Object {
104
+ {
105
105
"*": "mytask",
106
106
}
107
107
` )
@@ -120,7 +120,7 @@ describe('loadConfig', () => {
120
120
)
121
121
122
122
expect ( config ) . toMatchInlineSnapshot ( `
123
- Object {
123
+ {
124
124
"*": "mytask",
125
125
}
126
126
` )
@@ -139,7 +139,7 @@ describe('loadConfig', () => {
139
139
)
140
140
141
141
expect ( config ) . toMatchInlineSnapshot ( `
142
- Object {
142
+ {
143
143
"*": "mytask",
144
144
}
145
145
` )
@@ -156,7 +156,7 @@ describe('loadConfig', () => {
156
156
)
157
157
158
158
expect ( config ) . toMatchInlineSnapshot ( `
159
- Object {
159
+ {
160
160
"*": "mytask",
161
161
}
162
162
` )
@@ -167,14 +167,14 @@ describe('loadConfig', () => {
167
167
168
168
const result = await loadConfig ( { cwd : '/' } )
169
169
170
- expect ( result ) . toMatchInlineSnapshot ( `Object {}` )
170
+ expect ( result ) . toMatchInlineSnapshot ( `{}` )
171
171
} )
172
172
173
173
it ( 'should return empty object when explicit config file is not found' , async ( ) => {
174
174
expect . assertions ( 1 )
175
175
176
176
const result = await loadConfig ( { configPath : 'fake-config-file.yml' } , logger )
177
177
178
- expect ( result ) . toMatchInlineSnapshot ( `Object {}` )
178
+ expect ( result ) . toMatchInlineSnapshot ( `{}` )
179
179
} )
180
180
} )
0 commit comments