Skip to content

Commit 05a6c6d

Browse files
committed
upgrade testing-library
1 parent f3d9d92 commit 05a6c6d

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@rollup/plugin-replace": "^2.3.2",
5353
"@storybook/storybook-deployer": "^2.8.6",
5454
"@testing-library/jest-dom": "^5.11.4",
55-
"@testing-library/react": "^11.0.0-beta.1",
55+
"@testing-library/react": "^11.0.2",
5656
"@types/enzyme": "^3.10.5",
5757
"@types/jest": "^26.0.8",
5858
"@types/react": "^16.9.34",

packages/main/src/components/AnalyticalTable/__snapshots__/AnalyticalTable.test.tsx.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ exports[`AnalyticalTable Tree Table 1`] = `
14241424
aria-colindex="1"
14251425
class="AnalyticalTable-tableCell-0"
14261426
role="cell"
1427-
style="align-items: center; padding: 0px;"
1427+
style="align-items: center; padding: 0px; width: 47px;"
14281428
tabindex="-1"
14291429
>
14301430
<div
@@ -1508,7 +1508,7 @@ exports[`AnalyticalTable Tree Table 1`] = `
15081508
aria-colindex="1"
15091509
class="AnalyticalTable-tableCell-0"
15101510
role="cell"
1511-
style="align-items: center; padding: 0px;"
1511+
style="align-items: center; padding: 0px; width: 47px;"
15121512
tabindex="-1"
15131513
/>
15141514
<div
@@ -1550,7 +1550,7 @@ exports[`AnalyticalTable Tree Table 1`] = `
15501550
aria-colindex="1"
15511551
class="AnalyticalTable-tableCell-0"
15521552
role="cell"
1553-
style="align-items: center; padding: 0px;"
1553+
style="align-items: center; padding: 0px; width: 47px;"
15541554
tabindex="-1"
15551555
/>
15561556
<div
@@ -1592,7 +1592,7 @@ exports[`AnalyticalTable Tree Table 1`] = `
15921592
aria-colindex="1"
15931593
class="AnalyticalTable-tableCell-0"
15941594
role="cell"
1595-
style="align-items: center; padding: 0px;"
1595+
style="align-items: center; padding: 0px; width: 47px;"
15961596
tabindex="-1"
15971597
/>
15981598
<div
@@ -2263,7 +2263,7 @@ exports[`AnalyticalTable highlight row with custom row key 1`] = `
22632263
aria-colindex="1"
22642264
class="AnalyticalTable-tableCell"
22652265
role="cell"
2266-
style="align-items: center; padding: 0px;"
2266+
style="align-items: center; padding: 0px; width: 47px;"
22672267
tabindex="-1"
22682268
>
22692269
<div
@@ -2337,7 +2337,7 @@ exports[`AnalyticalTable highlight row with custom row key 1`] = `
23372337
aria-colindex="1"
23382338
class="AnalyticalTable-tableCell"
23392339
role="cell"
2340-
style="align-items: center; padding: 0px;"
2340+
style="align-items: center; padding: 0px; width: 47px;"
23412341
tabindex="-1"
23422342
/>
23432343
<div
@@ -2379,7 +2379,7 @@ exports[`AnalyticalTable highlight row with custom row key 1`] = `
23792379
aria-colindex="1"
23802380
class="AnalyticalTable-tableCell"
23812381
role="cell"
2382-
style="align-items: center; padding: 0px;"
2382+
style="align-items: center; padding: 0px; width: 47px;"
23832383
tabindex="-1"
23842384
/>
23852385
<div
@@ -2421,7 +2421,7 @@ exports[`AnalyticalTable highlight row with custom row key 1`] = `
24212421
aria-colindex="1"
24222422
class="AnalyticalTable-tableCell"
24232423
role="cell"
2424-
style="align-items: center; padding: 0px;"
2424+
style="align-items: center; padding: 0px; width: 47px;"
24252425
tabindex="-1"
24262426
/>
24272427
<div
@@ -4462,7 +4462,7 @@ exports[`AnalyticalTable with highlight row 1`] = `
44624462
aria-colindex="2"
44634463
class="AnalyticalTable-tableCell-0"
44644464
role="cell"
4465-
style="align-items: center; padding: 0px;"
4465+
style="align-items: center; padding: 0px; width: 47px;"
44664466
tabindex="-1"
44674467
>
44684468
<div
@@ -4543,7 +4543,7 @@ exports[`AnalyticalTable with highlight row 1`] = `
45434543
aria-colindex="2"
45444544
class="AnalyticalTable-tableCell-0"
45454545
role="cell"
4546-
style="align-items: center; padding: 0px;"
4546+
style="align-items: center; padding: 0px; width: 47px;"
45474547
tabindex="-1"
45484548
/>
45494549
<div
@@ -4592,7 +4592,7 @@ exports[`AnalyticalTable with highlight row 1`] = `
45924592
aria-colindex="2"
45934593
class="AnalyticalTable-tableCell-0"
45944594
role="cell"
4595-
style="align-items: center; padding: 0px;"
4595+
style="align-items: center; padding: 0px; width: 47px;"
45964596
tabindex="-1"
45974597
/>
45984598
<div
@@ -4641,7 +4641,7 @@ exports[`AnalyticalTable with highlight row 1`] = `
46414641
aria-colindex="2"
46424642
class="AnalyticalTable-tableCell-0"
46434643
role="cell"
4644-
style="align-items: center; padding: 0px;"
4644+
style="align-items: center; padding: 0px; width: 47px;"
46454645
tabindex="-1"
46464646
/>
46474647
<div

yarn.lock

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@
20762076
core-js-pure "^3.0.0"
20772077
regenerator-runtime "^0.13.4"
20782078

2079-
"@babel/[email protected]", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
2079+
"@babel/[email protected]", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.11.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
20802080
version "7.11.0"
20812081
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.0.tgz#f10245877042a815e07f7e693faff0ae9d3a2aac"
20822082
integrity sha512-qArkXsjJq7H+T86WrIFV0Fnu/tNOkZ4cgXmjkzAu3b/58D5mFIO8JH/y77t7C9q0OdDRdh9s7Ue5GasYssxtXw==
@@ -4390,14 +4390,16 @@
43904390
dependencies:
43914391
defer-to-connect "^2.0.0"
43924392

4393-
"@testing-library/dom@^7.22.3":
4394-
version "7.23.0"
4395-
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.23.0.tgz#c54c0fa53705ad867bcefb52fc0c96487fbc10f6"
4396-
integrity sha512-H5m090auYH+obdZmsaYLrSWC5OauWD2CvNbz88KBxQJoXgkJzbU0DpAG8BS7Evj5WqCC3nAAKrLS6vw0ljUYLg==
4393+
"@testing-library/dom@^7.23.0":
4394+
version "7.24.1"
4395+
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.24.1.tgz#0e8acd042070f2c1b183fbfe5c0d38b3194ad3c0"
4396+
integrity sha512-TemHWY59gvzcScGiE5eooZpzYk9GaED0TuuK4WefbIc/DQg0L5wOpnj7MIEeAGF3B7Ekf1kvmVnQ97vwz4Lmhg==
43974397
dependencies:
4398+
"@babel/code-frame" "^7.10.4"
43984399
"@babel/runtime" "^7.10.3"
43994400
"@types/aria-query" "^4.2.0"
44004401
aria-query "^4.2.2"
4402+
chalk "^4.1.0"
44014403
dom-accessibility-api "^0.5.1"
44024404
pretty-format "^26.4.2"
44034405

@@ -4415,13 +4417,13 @@
44154417
lodash "^4.17.15"
44164418
redent "^3.0.0"
44174419

4418-
"@testing-library/react@^11.0.0-beta.1":
4419-
version "11.0.0-beta.1"
4420-
resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-11.0.0-beta.1.tgz#14b4a418f8e9a1fb48ca7ac5d69b4a017a4bab54"
4421-
integrity sha512-tbuEjYCQiYGIYw7IG2V5uCwo+E5rpZXd5bEHH+FcLVncMvCOenWC5mMwhgt1YPaLJyBtYeQ1MoDNvpMFKm1rpQ==
4420+
"@testing-library/react@^11.0.2":
4421+
version "11.0.2"
4422+
resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-11.0.2.tgz#4588cc537085907bd1d98b531eb247dbbf57b1cc"
4423+
integrity sha512-iOuNNHt4ZgMH5trSKC4kaWDcKzUOf7e7KQIcu7xvGCd68/w1EegbW89F9T5sZ4IjS0gAXdvOfZbG9ESZ7YjOug==
44224424
dependencies:
4423-
"@babel/runtime" "^7.10.3"
4424-
"@testing-library/dom" "^7.22.3"
4425+
"@babel/runtime" "^7.11.2"
4426+
"@testing-library/dom" "^7.23.0"
44254427

44264428
"@types/anymatch@*":
44274429
version "1.3.1"
@@ -7064,7 +7066,7 @@ chalk@^3.0.0:
70647066
ansi-styles "^4.1.0"
70657067
supports-color "^7.1.0"
70667068

7067-
chalk@^4.0.0:
7069+
chalk@^4.0.0, chalk@^4.1.0:
70687070
version "4.1.0"
70697071
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
70707072
integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==

0 commit comments

Comments
 (0)