Skip to content

Commit

Permalink
refactor: Replace @types/jest with @jest/globals
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed Jun 9, 2023
1 parent bf09b21 commit 73c5bc2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"@evilmartians/lefthook": "1.4.1",
"@tstv/eslint-config": "2.0.1",
"@tstv/tsconfig-common": "2.0.0",
"@types/jest": "29.5.2",
"@types/node": "20.2.5",
"cross-env": "7.0.3",
"eslint": "8.42.0",
Expand Down
1 change: 1 addition & 0 deletions src/MyClass.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {describe, it, expect} from '@jest/globals';
import {MyClass} from './MyClass';

describe('MyClass', () => {
Expand Down
1 change: 1 addition & 0 deletions src/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {describe, it, expect} from '@jest/globals';
import {sayHello} from './cli';

describe('sayHello', () => {
Expand Down
12 changes: 2 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1022,14 +1022,6 @@
dependencies:
"@types/istanbul-lib-report" "*"

"@types/[email protected]":
version "29.5.2"
resolved "https://registry.npmjs.org/@types/jest/-/jest-29.5.2.tgz#86b4afc86e3a8f3005b297ed8a72494f89e6395b"
integrity sha512-mSoZVJF5YzGVCk+FsDxzDuH7s+SCkzrgKZzf0Z0T2WudhBUPoF6ktoTPC4R0ZoCPCV5xUvuU6ias5NvxcBcMMg==
dependencies:
expect "^29.0.0"
pretty-format "^29.0.0"

"@types/json-schema@^7.0.9":
version "7.0.9"
resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"
Expand Down Expand Up @@ -1859,7 +1851,7 @@ exit@^0.1.2:
resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=

expect@^29.0.0, expect@^29.5.0:
expect@^29.5.0:
version "29.5.0"
resolved "https://registry.npmjs.org/expect/-/expect-29.5.0.tgz#68c0509156cb2a0adb8865d413b137eeaae682f7"
integrity sha512-yM7xqUrCO2JdpFo4XpM82t+PJBFybdqoQuJLDGeDX2ij8NZzqRHyu3Hp188/JX7SWqud+7t4MUdvcgGBICMHZg==
Expand Down Expand Up @@ -3037,7 +3029,7 @@ [email protected]:
resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==

pretty-format@^29.0.0, pretty-format@^29.5.0:
pretty-format@^29.5.0:
version "29.5.0"
resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-29.5.0.tgz#283134e74f70e2e3e7229336de0e4fce94ccde5a"
integrity sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw==
Expand Down

0 comments on commit 73c5bc2

Please sign in to comment.