Skip to content

Commit

Permalink
Package update (#17)
Browse files Browse the repository at this point in the history
* Updated typescript and jest libaries.
Added types for react and react-dom.
Removed conflicting @jest/globals package
Removed all babel, jest is using ts-jest.

* Added import of jest-dom to jest.config.json.
It's no longer needed in tests.

* Build with no warnings and functional test.

Re-instaded babel needed for react-scripts to run.
Removed transform from jest config and eslint.

* Remved jest/globals reference from tests.
Slight modification to eslint.
  • Loading branch information
Omarley7 committed Mar 29, 2023
1 parent 0a2940c commit 0d24eaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions client/test/config/importJestDom.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@testing-library/jest-dom';
8 changes: 4 additions & 4 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8568,10 +8568,10 @@ prelude-ls@~1.1.2:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==

prettier@2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==
prettier@^2.7.1:
version "2.8.6"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.6.tgz#5c174b29befd507f14b83e3c19f83fdc0e974b71"
integrity sha512-mtuzdiBbHwPEgl7NxWlqOkithPyp4VN93V7VeHVWBF+ad3I5avc0RVDT4oImXQy9H/AqxA2NSQH8pSxHW6FYbQ==

pretty-bytes@^5.3.0, pretty-bytes@^5.4.1:
version "5.6.0"
Expand Down

0 comments on commit 0d24eaf

Please sign in to comment.