Skip to content

Commit b6f2609

Browse files
committed
chore(jest): upgrade to latest jest and babel
1 parent 5264503 commit b6f2609

File tree

3 files changed

+3267
-2976
lines changed

3 files changed

+3267
-2976
lines changed

__tests__/__snapshots__/main.test.ts.snap

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`node-sass implementation main outputs the correct files when outputFolder is passed 1`] = `
4-
Array [
5-
Object {
4+
[
5+
{
66
"contents": "export declare const myCustomClass: string;
77
export declare const nestedAnother: string;
88
export declare const nestedClass: string;
@@ -13,7 +13,7 @@ export declare const whereSelector: string;
1313
",
1414
"path": "../__generated__/__tests__/dummy-styles/alias-prefixes.scss.d.ts",
1515
},
16-
Object {
16+
{
1717
"contents": "export declare const myCustomClass: string;
1818
export declare const nestedAnother: string;
1919
export declare const nestedClass: string;
@@ -24,7 +24,7 @@ export declare const whereSelector: string;
2424
",
2525
"path": "../__generated__/__tests__/dummy-styles/aliases.scss.d.ts",
2626
},
27-
Object {
27+
{
2828
"contents": "export declare const nestedAnother: string;
2929
export declare const nestedClass: string;
3030
export declare const number1: string;
@@ -33,34 +33,34 @@ export declare const whereSelector: string;
3333
",
3434
"path": "../__generated__/__tests__/dummy-styles/complex.scss.d.ts",
3535
},
36-
Object {
36+
{
3737
"contents": "export declare const composedClass: string;
3838
",
3939
"path": "../__generated__/__tests__/dummy-styles/composes.scss.d.ts",
4040
},
41-
Object {
41+
{
4242
"contents": "export declare const app: string;
4343
export declare const appHeader: string;
4444
export declare const logo: string;
4545
",
4646
"path": "../__generated__/__tests__/dummy-styles/dashes.scss.d.ts",
4747
},
48-
Object {
48+
{
4949
"contents": "export declare const globalStyle: string;
5050
",
5151
"path": "../__generated__/__tests__/dummy-styles/global-variables.scss.d.ts",
5252
},
53-
Object {
53+
{
5454
"contents": "export declare const randomClass: string;
5555
",
5656
"path": "../__generated__/__tests__/dummy-styles/invalid.scss.d.ts",
5757
},
58-
Object {
58+
{
5959
"contents": "export declare const nestedStyles: string;
6060
",
6161
"path": "../__generated__/__tests__/dummy-styles/nested-styles/style.scss.d.ts",
6262
},
63-
Object {
63+
{
6464
"contents": "export declare const someClass: string;
6565
",
6666
"path": "../__generated__/__tests__/dummy-styles/style.scss.d.ts",
@@ -69,8 +69,8 @@ export declare const logo: string;
6969
`;
7070

7171
exports[`node-sass implementation main reads options from the configuration file 1`] = `
72-
Array [
73-
Object {
72+
[
73+
{
7474
"contents": "export type Styles = {
7575
myCustomClass: string;
7676
nestedAnother: string;
@@ -89,7 +89,7 @@ export default styles;
8989
",
9090
"path": "dummy-styles/alias-prefixes.scss.d.ts",
9191
},
92-
Object {
92+
{
9393
"contents": "export type Styles = {
9494
myCustomClass: string;
9595
nestedAnother: string;
@@ -108,7 +108,7 @@ export default styles;
108108
",
109109
"path": "dummy-styles/aliases.scss.d.ts",
110110
},
111-
Object {
111+
{
112112
"contents": "export type Styles = {
113113
nestedAnother: string;
114114
nestedClass: string;
@@ -125,7 +125,7 @@ export default styles;
125125
",
126126
"path": "dummy-styles/complex.scss.d.ts",
127127
},
128-
Object {
128+
{
129129
"contents": "export type Styles = {
130130
composedClass: string;
131131
};
@@ -138,7 +138,7 @@ export default styles;
138138
",
139139
"path": "dummy-styles/composes.scss.d.ts",
140140
},
141-
Object {
141+
{
142142
"contents": "export type Styles = {
143143
app: string;
144144
appHeader: string;
@@ -153,7 +153,7 @@ export default styles;
153153
",
154154
"path": "dummy-styles/dashes.scss.d.ts",
155155
},
156-
Object {
156+
{
157157
"contents": "export type Styles = {
158158
globalStyle: string;
159159
};
@@ -166,7 +166,7 @@ export default styles;
166166
",
167167
"path": "dummy-styles/global-variables.scss.d.ts",
168168
},
169-
Object {
169+
{
170170
"contents": "export type Styles = {
171171
randomClass: string;
172172
};
@@ -179,7 +179,7 @@ export default styles;
179179
",
180180
"path": "dummy-styles/invalid.scss.d.ts",
181181
},
182-
Object {
182+
{
183183
"contents": "export type Styles = {
184184
nestedStyles: string;
185185
};
@@ -192,7 +192,7 @@ export default styles;
192192
",
193193
"path": "dummy-styles/nested-styles/style.scss.d.ts",
194194
},
195-
Object {
195+
{
196196
"contents": "export type Styles = {
197197
someClass: string;
198198
};
@@ -209,8 +209,8 @@ export default styles;
209209
`;
210210

211211
exports[`sass implementation main outputs the correct files when outputFolder is passed 1`] = `
212-
Array [
213-
Object {
212+
[
213+
{
214214
"contents": "export declare const myCustomClass: string;
215215
export declare const nestedAnother: string;
216216
export declare const nestedClass: string;
@@ -221,7 +221,7 @@ export declare const whereSelector: string;
221221
",
222222
"path": "../__generated__/__tests__/dummy-styles/alias-prefixes.scss.d.ts",
223223
},
224-
Object {
224+
{
225225
"contents": "export declare const myCustomClass: string;
226226
export declare const nestedAnother: string;
227227
export declare const nestedClass: string;
@@ -232,7 +232,7 @@ export declare const whereSelector: string;
232232
",
233233
"path": "../__generated__/__tests__/dummy-styles/aliases.scss.d.ts",
234234
},
235-
Object {
235+
{
236236
"contents": "export declare const nestedAnother: string;
237237
export declare const nestedClass: string;
238238
export declare const number1: string;
@@ -241,34 +241,34 @@ export declare const whereSelector: string;
241241
",
242242
"path": "../__generated__/__tests__/dummy-styles/complex.scss.d.ts",
243243
},
244-
Object {
244+
{
245245
"contents": "export declare const composedClass: string;
246246
",
247247
"path": "../__generated__/__tests__/dummy-styles/composes.scss.d.ts",
248248
},
249-
Object {
249+
{
250250
"contents": "export declare const app: string;
251251
export declare const appHeader: string;
252252
export declare const logo: string;
253253
",
254254
"path": "../__generated__/__tests__/dummy-styles/dashes.scss.d.ts",
255255
},
256-
Object {
256+
{
257257
"contents": "export declare const globalStyle: string;
258258
",
259259
"path": "../__generated__/__tests__/dummy-styles/global-variables.scss.d.ts",
260260
},
261-
Object {
261+
{
262262
"contents": "export declare const randomClass: string;
263263
",
264264
"path": "../__generated__/__tests__/dummy-styles/invalid.scss.d.ts",
265265
},
266-
Object {
266+
{
267267
"contents": "export declare const nestedStyles: string;
268268
",
269269
"path": "../__generated__/__tests__/dummy-styles/nested-styles/style.scss.d.ts",
270270
},
271-
Object {
271+
{
272272
"contents": "export declare const someClass: string;
273273
",
274274
"path": "../__generated__/__tests__/dummy-styles/style.scss.d.ts",
@@ -277,8 +277,8 @@ export declare const logo: string;
277277
`;
278278

279279
exports[`sass implementation main reads options from the configuration file 1`] = `
280-
Array [
281-
Object {
280+
[
281+
{
282282
"contents": "export type Styles = {
283283
myCustomClass: string;
284284
nestedAnother: string;
@@ -297,7 +297,7 @@ export default styles;
297297
",
298298
"path": "dummy-styles/alias-prefixes.scss.d.ts",
299299
},
300-
Object {
300+
{
301301
"contents": "export type Styles = {
302302
myCustomClass: string;
303303
nestedAnother: string;
@@ -316,7 +316,7 @@ export default styles;
316316
",
317317
"path": "dummy-styles/aliases.scss.d.ts",
318318
},
319-
Object {
319+
{
320320
"contents": "export type Styles = {
321321
nestedAnother: string;
322322
nestedClass: string;
@@ -333,7 +333,7 @@ export default styles;
333333
",
334334
"path": "dummy-styles/complex.scss.d.ts",
335335
},
336-
Object {
336+
{
337337
"contents": "export type Styles = {
338338
composedClass: string;
339339
};
@@ -346,7 +346,7 @@ export default styles;
346346
",
347347
"path": "dummy-styles/composes.scss.d.ts",
348348
},
349-
Object {
349+
{
350350
"contents": "export type Styles = {
351351
app: string;
352352
appHeader: string;
@@ -361,7 +361,7 @@ export default styles;
361361
",
362362
"path": "dummy-styles/dashes.scss.d.ts",
363363
},
364-
Object {
364+
{
365365
"contents": "export type Styles = {
366366
globalStyle: string;
367367
};
@@ -374,7 +374,7 @@ export default styles;
374374
",
375375
"path": "dummy-styles/global-variables.scss.d.ts",
376376
},
377-
Object {
377+
{
378378
"contents": "export type Styles = {
379379
randomClass: string;
380380
};
@@ -387,7 +387,7 @@ export default styles;
387387
",
388388
"path": "dummy-styles/invalid.scss.d.ts",
389389
},
390-
Object {
390+
{
391391
"contents": "export type Styles = {
392392
nestedStyles: string;
393393
};
@@ -400,7 +400,7 @@ export default styles;
400400
",
401401
"path": "dummy-styles/nested-styles/style.scss.d.ts",
402402
},
403-
Object {
403+
{
404404
"contents": "export type Styles = {
405405
someClass: string;
406406
};

0 commit comments

Comments
 (0)