Skip to content

Commit 5b75ec3

Browse files
authored
chore: Upgrades Jest to v29 (#2718)
1 parent 5b77df7 commit 5b75ec3

File tree

14 files changed

+14220
-14291
lines changed

14 files changed

+14220
-14291
lines changed

package-lock.json

+1,263-1,334
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@types/d3-scale": "^2.2.6",
6969
"@types/d3-shape": "^1.3.8",
7070
"@types/glob": "^7.2.0",
71-
"@types/jest": "^27.5.1",
71+
"@types/jest": "^29.5.13",
7272
"@types/lodash": "^4.14.176",
7373
"@types/node": "^18.18.5",
7474
"@types/react": "^16.14.20",
@@ -81,7 +81,7 @@
8181
"@typescript-eslint/eslint-plugin": "^5.45.0",
8282
"@typescript-eslint/parser": "^5.45.0",
8383
"axe-core": "^4.4.1",
84-
"babel-jest": "^28.1.0",
84+
"babel-jest": "^29.7.0",
8585
"change-case": "^4.1.2",
8686
"commenting": "^1.1.0",
8787
"copy-webpack-plugin": "^9.0.1",
@@ -105,8 +105,8 @@
105105
"html-validate": "^7.3.0",
106106
"html-webpack-plugin": "^5.5.0",
107107
"husky": "^9.0.0",
108-
"jest": "^28.1.0",
109-
"jest-environment-jsdom": "^28.1.0",
108+
"jest": "^29.7.0",
109+
"jest-environment-jsdom": "^29.7.0",
110110
"lint-staged": "^15.2.2",
111111
"loader-utils": "^3.2.1",
112112
"lodash": "^4.17.21",
@@ -134,7 +134,7 @@
134134
"stylelint-scss": "^6.3.1",
135135
"stylelint-use-logical": "^2.1.2",
136136
"svgo": "^2.8.0",
137-
"ts-jest": "^28.0.2",
137+
"ts-jest": "^29.2.5",
138138
"ts-loader": "^9.2.6",
139139
"typescript": "^4.6.4",
140140
"wait-on": "^7.2.0",

src/__integ__/__snapshots__/themes.test.ts.snap

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`CSS Custom Properties match previous snapshot for mode "compact" 1`] = `
4-
Object {
4+
{
55
"border-active-width": "2px",
66
"border-code-editor-status-divider-width": "0px",
77
"border-container-sticky-width": "1px",
@@ -450,8 +450,8 @@ Object {
450450
"font-chart-detail-size": "14px",
451451
"font-display-label-weight": "400",
452452
"font-expandable-heading-size": "14px",
453-
"font-family-base": "\\"Noto Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
454-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
453+
"font-family-base": ""Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
454+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
455455
"font-header-h2-description-line-height": "16px",
456456
"font-header-h2-description-size": "12px",
457457
"font-link-button-letter-spacing": "normal",
@@ -650,7 +650,7 @@ Object {
650650
`;
651651

652652
exports[`CSS Custom Properties match previous snapshot for mode "dark" 1`] = `
653-
Object {
653+
{
654654
"border-active-width": "2px",
655655
"border-code-editor-status-divider-width": "0px",
656656
"border-container-sticky-width": "1px",
@@ -1099,8 +1099,8 @@ Object {
10991099
"font-chart-detail-size": "14px",
11001100
"font-display-label-weight": "400",
11011101
"font-expandable-heading-size": "14px",
1102-
"font-family-base": "\\"Noto Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
1103-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
1102+
"font-family-base": ""Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
1103+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
11041104
"font-header-h2-description-line-height": "16px",
11051105
"font-header-h2-description-size": "12px",
11061106
"font-link-button-letter-spacing": "normal",
@@ -1299,7 +1299,7 @@ Object {
12991299
`;
13001300

13011301
exports[`CSS Custom Properties match previous snapshot for mode "light" 1`] = `
1302-
Object {
1302+
{
13031303
"border-active-width": "2px",
13041304
"border-code-editor-status-divider-width": "0px",
13051305
"border-container-sticky-width": "1px",
@@ -1748,8 +1748,8 @@ Object {
17481748
"font-chart-detail-size": "14px",
17491749
"font-display-label-weight": "400",
17501750
"font-expandable-heading-size": "14px",
1751-
"font-family-base": "\\"Noto Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
1752-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
1751+
"font-family-base": ""Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
1752+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
17531753
"font-header-h2-description-line-height": "16px",
17541754
"font-header-h2-description-size": "12px",
17551755
"font-link-button-letter-spacing": "normal",
@@ -1948,7 +1948,7 @@ Object {
19481948
`;
19491949

19501950
exports[`CSS Custom Properties match previous snapshot for mode "reduced-motion" 1`] = `
1951-
Object {
1951+
{
19521952
"border-active-width": "2px",
19531953
"border-code-editor-status-divider-width": "0px",
19541954
"border-container-sticky-width": "1px",
@@ -2397,8 +2397,8 @@ Object {
23972397
"font-chart-detail-size": "14px",
23982398
"font-display-label-weight": "400",
23992399
"font-expandable-heading-size": "14px",
2400-
"font-family-base": "\\"Noto Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
2401-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
2400+
"font-family-base": ""Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
2401+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
24022402
"font-header-h2-description-line-height": "16px",
24032403
"font-header-h2-description-size": "12px",
24042404
"font-link-button-letter-spacing": "normal",
@@ -2597,7 +2597,7 @@ Object {
25972597
`;
25982598

25992599
exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh" 1`] = `
2600-
Object {
2600+
{
26012601
"border-active-width": "4px",
26022602
"border-code-editor-status-divider-width": "1px",
26032603
"border-container-sticky-width": "0px",
@@ -3046,8 +3046,8 @@ Object {
30463046
"font-chart-detail-size": "12px",
30473047
"font-display-label-weight": "700",
30483048
"font-expandable-heading-size": "16px",
3049-
"font-family-base": "\\"Open Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
3050-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
3049+
"font-family-base": ""Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
3050+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
30513051
"font-header-h2-description-line-height": "20px",
30523052
"font-header-h2-description-size": "14px",
30533053
"font-link-button-letter-spacing": "0.005em",
@@ -3246,7 +3246,7 @@ Object {
32463246
`;
32473247

32483248
exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-compact" 1`] = `
3249-
Object {
3249+
{
32503250
"border-active-width": "4px",
32513251
"border-code-editor-status-divider-width": "1px",
32523252
"border-container-sticky-width": "0px",
@@ -3695,8 +3695,8 @@ Object {
36953695
"font-chart-detail-size": "12px",
36963696
"font-display-label-weight": "700",
36973697
"font-expandable-heading-size": "16px",
3698-
"font-family-base": "\\"Open Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
3699-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
3698+
"font-family-base": ""Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
3699+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
37003700
"font-header-h2-description-line-height": "20px",
37013701
"font-header-h2-description-size": "14px",
37023702
"font-link-button-letter-spacing": "0.005em",
@@ -3895,7 +3895,7 @@ Object {
38953895
`;
38963896

38973897
exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-content-header" 1`] = `
3898-
Object {
3898+
{
38993899
"border-active-width": "4px",
39003900
"border-code-editor-status-divider-width": "1px",
39013901
"border-container-sticky-width": "0px",
@@ -4344,8 +4344,8 @@ Object {
43444344
"font-chart-detail-size": "12px",
43454345
"font-display-label-weight": "700",
43464346
"font-expandable-heading-size": "16px",
4347-
"font-family-base": "\\"Open Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
4348-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
4347+
"font-family-base": ""Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
4348+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
43494349
"font-header-h2-description-line-height": "20px",
43504350
"font-header-h2-description-size": "14px",
43514351
"font-link-button-letter-spacing": "0.005em",
@@ -4544,7 +4544,7 @@ Object {
45444544
`;
45454545

45464546
exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh-dark" 1`] = `
4547-
Object {
4547+
{
45484548
"border-active-width": "4px",
45494549
"border-code-editor-status-divider-width": "1px",
45504550
"border-container-sticky-width": "0px",
@@ -4993,8 +4993,8 @@ Object {
49934993
"font-chart-detail-size": "12px",
49944994
"font-display-label-weight": "700",
49954995
"font-expandable-heading-size": "16px",
4996-
"font-family-base": "\\"Open Sans\\", \\"Helvetica Neue\\", Roboto, Arial, sans-serif",
4997-
"font-family-monospace": "Monaco, Menlo, Consolas, \\"Courier Prime\\", Courier, \\"Courier New\\", monospace",
4996+
"font-family-base": ""Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif",
4997+
"font-family-monospace": "Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace",
49984998
"font-header-h2-description-line-height": "20px",
49994999
"font-header-h2-description-size": "14px",
50005000
"font-link-button-letter-spacing": "0.005em",

0 commit comments

Comments
 (0)