Skip to content

Commit

Permalink
jest 가 작동하지 않는 문제를 해결한다 2
Browse files Browse the repository at this point in the history
- testing-library/dom-testing-library#756
- 위와 같은 이슈가 생기고 있어 문제 해결
  • Loading branch information
최한울 committed Jul 5, 2021
1 parent 1fee2fe commit b6a320c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"eslint-plugin-react-hooks": "^1.7.0",
"jest": "^27.0.6",
"jest-plugin-context": "^2.9.0",
"webpack-cli": "^4.7.2"
"webpack-cli": "^4.7.2",
"jest-environment-jsdom": "~27.0"
}
}
3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React from 'react';

function App() {
return (
<h2>SOOM.GG</h2>
)
}

export default App;
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7013,7 +7013,7 @@ jest-environment-jsdom@^26.6.2:
jest-util "^26.6.2"
jsdom "^16.4.0"

jest-environment-jsdom@^27.0.6:
jest-environment-jsdom@^27.0.6, jest-environment-jsdom@~27.0:
version "27.0.6"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.6.tgz#f66426c4c9950807d0a9f209c590ce544f73291f"
integrity sha512-FvetXg7lnXL9+78H+xUAsra3IeZRTiegA3An01cWeXBspKXUhAwMM9ycIJ4yBaR0L7HkoMPaZsozCLHh4T8fuw==
Expand Down

0 comments on commit b6a320c

Please sign in to comment.