Skip to content

Commit 3d422dd

Browse files
chore: move testing library to devDependencies
1 parent b73f4c1 commit 3d422dd

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

app/components/ProtectedRoute/tests/__snapshots__/index.test.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
1717
</p>
1818
</div>
1919
<div
20-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz css-dev-only-do-not-override-jy3e2f"
20+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz css-dev-only-do-not-override-bqy7u8"
2121
maxwidth="500"
2222
>
2323
<div
@@ -43,13 +43,13 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
4343
Get details of repositories
4444
</p>
4545
<span
46-
class="ant-input-group-wrapper ant-input-search css-dev-only-do-not-override-jy3e2f"
46+
class="ant-input-group-wrapper ant-input-search css-dev-only-do-not-override-bqy7u8"
4747
>
4848
<span
49-
class="ant-input-wrapper ant-input-group css-dev-only-do-not-override-jy3e2f"
49+
class="ant-input-wrapper ant-input-group css-dev-only-do-not-override-bqy7u8"
5050
>
5151
<input
52-
class="ant-input css-dev-only-do-not-override-jy3e2f"
52+
class="ant-input css-dev-only-do-not-override-bqy7u8"
5353
data-testid="search-bar"
5454
type="text"
5555
value=""
@@ -58,7 +58,7 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
5858
class="ant-input-group-addon"
5959
>
6060
<button
61-
class="ant-btn css-dev-only-do-not-override-jy3e2f ant-btn-default ant-btn-icon-only ant-input-search-button"
61+
class="ant-btn css-dev-only-do-not-override-bqy7u8 ant-btn-default ant-btn-icon-only ant-input-search-button"
6262
type="button"
6363
>
6464
<span
@@ -87,7 +87,7 @@ exports[`<ProtectedRoute /> should render and match the snapshot 1`] = `
8787
</div>
8888
</div>
8989
<div
90-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd css-dev-only-do-not-override-jy3e2f"
90+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd css-dev-only-do-not-override-bqy7u8"
9191
color="grey"
9292
>
9393
<div

app/components/RepoCard/tests/__snapshots__/index.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`<RepoCard /> should render and match the snapshot 1`] = `
44
<body>
55
<div>
66
<div
7-
class="ant-card ant-card-bordered RepoCard__CustomCard-sc-3wf6pv-0 hBtxvU css-dev-only-do-not-override-jy3e2f"
7+
class="ant-card ant-card-bordered RepoCard__CustomCard-sc-3wf6pv-0 hBtxvU css-dev-only-do-not-override-bqy7u8"
88
data-testid="repo-card"
99
>
1010
<div

app/containers/HomeContainer/tests/__snapshots__/index.test.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
1717
</p>
1818
</div>
1919
<div
20-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz css-dev-only-do-not-override-jy3e2f"
20+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 liNnZz css-dev-only-do-not-override-bqy7u8"
2121
maxwidth="500"
2222
>
2323
<div
@@ -43,13 +43,13 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
4343
Get details of repositories
4444
</p>
4545
<span
46-
class="ant-input-group-wrapper ant-input-search css-dev-only-do-not-override-jy3e2f"
46+
class="ant-input-group-wrapper ant-input-search css-dev-only-do-not-override-bqy7u8"
4747
>
4848
<span
49-
class="ant-input-wrapper ant-input-group css-dev-only-do-not-override-jy3e2f"
49+
class="ant-input-wrapper ant-input-group css-dev-only-do-not-override-bqy7u8"
5050
>
5151
<input
52-
class="ant-input css-dev-only-do-not-override-jy3e2f"
52+
class="ant-input css-dev-only-do-not-override-bqy7u8"
5353
data-testid="search-bar"
5454
type="text"
5555
value=""
@@ -58,7 +58,7 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
5858
class="ant-input-group-addon"
5959
>
6060
<button
61-
class="ant-btn css-dev-only-do-not-override-jy3e2f ant-btn-default ant-btn-icon-only ant-input-search-button"
61+
class="ant-btn css-dev-only-do-not-override-bqy7u8 ant-btn-default ant-btn-icon-only ant-input-search-button"
6262
type="button"
6363
>
6464
<span
@@ -87,7 +87,7 @@ exports[`<HomeContainer /> tests should render and match the snapshot 1`] = `
8787
</div>
8888
</div>
8989
<div
90-
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd css-dev-only-do-not-override-jy3e2f"
90+
class="ant-card ant-card-bordered HomeContainer__CustomCard-l0s8pp-0 fCikHd css-dev-only-do-not-override-bqy7u8"
9191
color="grey"
9292
>
9393
<div

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@
8383
"dependencies": {
8484
"@babel/helper-regex": "^7.10.5",
8585
"@formatjs/intl-relativetimeformat": "^9.1.6",
86-
"@testing-library/jest-dom": "^5.16.5",
87-
"@testing-library/react": "13.4.0",
8886
"antd": "^5.0.2",
8987
"apisauce": "2.1.6",
9088
"axios": "^1.2.0",
9189
"axios-retry": "^3.3.1",
9290
"deep-map-keys": "^2.0.1",
9391
"dotenv": "10.0.0",
9492
"express": "4.16.4",
93+
"core-js": "3.6.5",
94+
"fontfaceobserver": "2.3.0",
9595
"history": "4.9.x",
9696
"immer": "9.0.16",
9797
"immutable": "^4.1.0",
@@ -120,6 +120,8 @@
120120
"@aws-sdk/client-s3": "^3.54.0",
121121
"@babel/cli": "7.14.5",
122122
"@babel/core": "7.14.6",
123+
"@testing-library/jest-dom": "^5.16.5",
124+
"@testing-library/react": "13.4.0",
123125
"@babel/plugin-proposal-class-properties": "7.14.5",
124126
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
125127
"@babel/plugin-syntax-dynamic-import": "7.8.3",
@@ -141,11 +143,9 @@
141143
"axios-mock-adapter": "^1.17.0",
142144
"cross-env": "7.0.3",
143145
"compression": "1.7.4",
144-
"core-js": "3.6.5",
145146
"ip": "1.1.5",
146147
"invariant": "2.2.4",
147148
"chalk": "4.1.1",
148-
"fontfaceobserver": "2.3.0",
149149
"minimist": "1.2.7",
150150
"hoist-non-react-statics": "3.3.2",
151151
"babel-core": "7.0.0-bridge.0",

0 commit comments

Comments
 (0)