Skip to content

Commit 8c8cece

Browse files
authored
chore: update jest to the latest version (#1088)
1 parent 8ae327d commit 8c8cece

10 files changed

+11787
-11763
lines changed

package-lock.json

+734-710
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@commitlint/cli": "^17.1.2",
7070
"@commitlint/config-conventional": "^17.1.0",
7171
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
72-
"babel-jest": "^28.1.3",
72+
"babel-jest": "^29.0.3",
7373
"bootstrap-sass": "^3.4.1",
7474
"bootstrap-v4": "npm:bootstrap@^4.5.3",
7575
"bootstrap-v5": "npm:bootstrap@^5.0.1",
@@ -85,8 +85,8 @@
8585
"file-loader": "^6.2.0",
8686
"foundation-sites": "^6.7.5",
8787
"husky": "^8.0.1",
88-
"jest": "^28.1.3",
89-
"jest-environment-node-single-context": "^28.1.0",
88+
"jest": "^29.0.3",
89+
"jest-environment-node-single-context": "^29.0.0",
9090
"lint-staged": "^12.5.0",
9191
"material-components-web": "^8.0.0",
9292
"memfs": "^3.4.7",

test/__snapshots__/additionalData-option.test.js.snap

+80-80
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,91 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`implementation option 'dart-sass', 'legacy' API: errors 1`] = `Array []`;
3+
exports[`implementation option 'dart-sass', 'legacy' API: errors 1`] = `[]`;
44

5-
exports[`implementation option 'dart-sass', 'legacy' API: warnings 1`] = `Array []`;
5+
exports[`implementation option 'dart-sass', 'legacy' API: warnings 1`] = `[]`;
66

7-
exports[`implementation option 'dart-sass', 'modern' API: errors 1`] = `Array []`;
7+
exports[`implementation option 'dart-sass', 'modern' API: errors 1`] = `[]`;
88

9-
exports[`implementation option 'dart-sass', 'modern' API: warnings 1`] = `Array []`;
9+
exports[`implementation option 'dart-sass', 'modern' API: warnings 1`] = `[]`;
1010

11-
exports[`implementation option 'node-sass', 'legacy' API: errors 1`] = `Array []`;
11+
exports[`implementation option 'node-sass', 'legacy' API: errors 1`] = `[]`;
1212

13-
exports[`implementation option 'node-sass', 'legacy' API: warnings 1`] = `Array []`;
13+
exports[`implementation option 'node-sass', 'legacy' API: warnings 1`] = `[]`;
1414

15-
exports[`implementation option 'sass_string', 'legacy' API: errors 1`] = `Array []`;
15+
exports[`implementation option 'sass_string', 'legacy' API: errors 1`] = `[]`;
1616

17-
exports[`implementation option 'sass_string', 'legacy' API: warnings 1`] = `Array []`;
17+
exports[`implementation option 'sass_string', 'legacy' API: warnings 1`] = `[]`;
1818

19-
exports[`implementation option 'sass-embedded', 'legacy' API: errors 1`] = `Array []`;
19+
exports[`implementation option 'sass-embedded', 'legacy' API: errors 1`] = `[]`;
2020

21-
exports[`implementation option 'sass-embedded', 'legacy' API: warnings 1`] = `Array []`;
21+
exports[`implementation option 'sass-embedded', 'legacy' API: warnings 1`] = `[]`;
2222

23-
exports[`implementation option 'sass-embedded', 'modern' API: errors 1`] = `Array []`;
23+
exports[`implementation option 'sass-embedded', 'modern' API: errors 1`] = `[]`;
2424

25-
exports[`implementation option 'sass-embedded', 'modern' API: warnings 1`] = `Array []`;
25+
exports[`implementation option 'sass-embedded', 'modern' API: warnings 1`] = `[]`;
2626

27-
exports[`implementation option not specify with legacy API: errors 1`] = `Array []`;
27+
exports[`implementation option not specify with legacy API: errors 1`] = `[]`;
2828

29-
exports[`implementation option not specify with legacy API: warnings 1`] = `Array []`;
29+
exports[`implementation option not specify with legacy API: warnings 1`] = `[]`;
3030

31-
exports[`implementation option not specify with modern API: errors 1`] = `Array []`;
31+
exports[`implementation option not specify with modern API: errors 1`] = `[]`;
3232

33-
exports[`implementation option not specify with modern API: warnings 1`] = `Array []`;
33+
exports[`implementation option not specify with modern API: warnings 1`] = `[]`;
3434

35-
exports[`implementation option not specify: errors 1`] = `Array []`;
35+
exports[`implementation option not specify: errors 1`] = `[]`;
3636

37-
exports[`implementation option not specify: warnings 1`] = `Array []`;
37+
exports[`implementation option not specify: warnings 1`] = `[]`;
3838

3939
exports[`implementation option should not swallow an error when trying to load a sass implementation: errors 1`] = `
40-
Array [
40+
[
4141
"ModuleError: Module Error (from ../src/cjs.js):
4242
Some error",
4343
]
4444
`;
4545

46-
exports[`implementation option should not swallow an error when trying to load a sass implementation: warnings 1`] = `Array []`;
46+
exports[`implementation option should not swallow an error when trying to load a sass implementation: warnings 1`] = `[]`;
4747

4848
exports[`implementation option should throw an error on an unknown sass implementation: errors 1`] = `
49-
Array [
49+
[
5050
"ModuleError: Module Error (from ../src/cjs.js):
51-
Unknown Sass implementation \\"strange-sass\\".",
51+
Unknown Sass implementation "strange-sass".",
5252
]
5353
`;
5454

55-
exports[`implementation option should throw an error on an unknown sass implementation: warnings 1`] = `Array []`;
55+
exports[`implementation option should throw an error on an unknown sass implementation: warnings 1`] = `[]`;
5656

5757
exports[`implementation option should throw an error when the "info" is unparseable: errors 1`] = `
58-
Array [
58+
[
5959
"ModuleError: Module Error (from ../src/cjs.js):
60-
Unknown Sass implementation \\"asdfj\\".",
60+
Unknown Sass implementation "asdfj".",
6161
]
6262
`;
6363

64-
exports[`implementation option should throw an error when the "info" is unparseable: warnings 1`] = `Array []`;
64+
exports[`implementation option should throw an error when the "info" is unparseable: warnings 1`] = `[]`;
6565

6666
exports[`implementation option should throw error when the "info" does not exist: errors 1`] = `
67-
Array [
67+
[
6868
"ModuleError: Module Error (from ../src/cjs.js):
6969
Unknown Sass implementation.",
7070
]
7171
`;
7272

73-
exports[`implementation option should throw error when the "info" does not exist: warnings 1`] = `Array []`;
73+
exports[`implementation option should throw error when the "info" does not exist: warnings 1`] = `[]`;
7474

7575
exports[`implementation option should throw error when unresolved package: errors 1`] = `
76-
Array [
76+
[
7777
"ModuleError: Module Error (from ../src/cjs.js):
7878
Cannot find module 'unresolved' from 'src/utils.js'",
7979
]
8080
`;
8181

82-
exports[`implementation option should throw error when unresolved package: warnings 1`] = `Array []`;
82+
exports[`implementation option should throw error when unresolved package: warnings 1`] = `[]`;
8383

8484
exports[`implementation option should try to load using valid order: errors 1`] = `
85-
Array [
85+
[
8686
"ModuleError: Module Error (from ../src/cjs.js):
8787
Some error sass",
8888
]
8989
`;
9090

91-
exports[`implementation option should try to load using valid order: warnings 1`] = `Array []`;
91+
exports[`implementation option should try to load using valid order: warnings 1`] = `[]`;

0 commit comments

Comments
 (0)