Skip to content

Commit 192a04d

Browse files
fix upgrade jest
1 parent 7c831f2 commit 192a04d

File tree

3 files changed

+256
-206
lines changed

3 files changed

+256
-206
lines changed

client/__tests__/components/helpCentre/__snapshots__/helpCentreContactOptions.test.tsx.snap

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

33
exports[`HelpCentreContactOptions Help Centre landing page Help Centre article (compact layout and contact options hidden) with live chat feature switches disabled shows email and phone contacts only 1`] = `
4-
Array [
4+
[
55
.emotion-0 {
66
border-top: 1px solid #DCDCDC;
77
margin-top: 30px;
@@ -398,7 +398,7 @@ Array [
398398
`;
399399

400400
exports[`HelpCentreContactOptions Help Centre landing page with live chat feature switch disabled shows email and phone contacts only 1`] = `
401-
Array [
401+
[
402402
.emotion-0 {
403403
border-top: 1px solid #DCDCDC;
404404
margin-top: 30px;
@@ -795,7 +795,7 @@ Array [
795795
`;
796796

797797
exports[`HelpCentreContactOptions Help Centre landing page with live chat feature switch enabled shows the live chat contact box 1`] = `
798-
Array [
798+
[
799799
.emotion-0 {
800800
border-top: 1px solid #DCDCDC;
801801
margin-top: 30px;

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"@types/express": "4.16.1",
8484
"@types/google.analytics": "0.0.39",
8585
"@types/helmet": "0.0.37",
86-
"@types/jest": "26.0.9",
86+
"@types/jest": "29.5.6",
8787
"@types/js-cookie": "2.2.3",
8888
"@types/lodash": "4.14.168",
8989
"@types/node": "10.14.4",
@@ -100,7 +100,7 @@
100100
"@types/webpack-node-externals": "2.5.3",
101101
"@types/yup": "0.26.23",
102102
"assets-webpack-plugin": "7.1.1",
103-
"babel-jest": "27.3.1",
103+
"babel-jest": "29.7.0",
104104
"babel-loader": "9.1.2",
105105
"babel-loader-exclude-node-modules-except": "1.2.1",
106106
"babel-plugin-lodash": "3.3.4",
@@ -164,6 +164,7 @@
164164
"express": "4.17.3",
165165
"formik": "2.2.9",
166166
"helmet": "3.23.3",
167+
"jest-environment-jsdom": "29.7.0",
167168
"js-cookie": "2.2.1",
168169
"lodash": "4.17.21",
169170
"node-fetch": "2.6.7",

0 commit comments

Comments
 (0)