File tree 4 files changed +21
-10
lines changed
4 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 1
1
/// <reference path="./react.d.ts" />
2
+ /// <reference path="./jest.d.ts" />
2
3
/// <reference path="./generated/graphql-queries.d.ts" />
3
4
4
5
declare module '*.svg' {
Original file line number Diff line number Diff line change
1
+ import 'jest' ;
2
+
3
+ declare global {
4
+ namespace jest {
5
+ /**
6
+ * Returns the actual module instead of a mock, bypassing all checks on
7
+ * whether the module should receive a mock implementation or not.
8
+ *
9
+ * TODO: Update `@types/jest` and reconcile the type errors, then remove this file.
10
+ */
11
+ function requireActual ( moduleName : string ) : any ;
12
+ }
13
+ }
Original file line number Diff line number Diff line change 236
236
"@types/glob" : " 7.x" ,
237
237
"@types/immutable" : " 3.x" ,
238
238
"@types/jasmine" : " 2.8.x" ,
239
- "@types/jest" : " ^29.5.14 " ,
239
+ "@types/jest" : " ^22.x " ,
240
240
"@types/json-schema" : " ^7.0.7" ,
241
241
"@types/lodash-es" : " 4.17.x" ,
242
242
"@types/node" : " 22.x" ,
Original file line number Diff line number Diff line change 2933
2933
resolved "https://registry.yarnpkg.com/@types/jasmine/-/jasmine-2.8.16.tgz#a6cb24b1149d65293bd616923500014838e14e7d"
2934
2934
integrity sha512-056oRlBBp7MDzr+HoU5su099s/s7wjZ3KcHxLfv+Byqb9MwdLUvsfLgw1VS97hsh3ddxSPyQu+olHMnoVTUY6g==
2935
2935
2936
- "@types/jest@^29.5.14":
2937
- version "29.5.14"
2938
- resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.14.tgz#2b910912fa1d6856cadcd0c1f95af7df1d6049e5"
2939
- integrity sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==
2940
- dependencies:
2941
- expect "^29.0.0"
2942
- pretty-format "^29.0.0"
2936
+ "@types/jest@^22.x":
2937
+ version "22.2.3"
2938
+ resolved "https://registry.yarnpkg.com/@types/jest/-/jest-22.2.3.tgz#0157c0316dc3722c43a7b71de3fdf3acbccef10d"
2939
+ integrity sha512-e74sM9W/4qqWB6D4TWV9FQk0WoHtX1X4FJpbjxucMSVJHtFjbQOH3H6yp+xno4br0AKG0wz/kPtaN599GUOvAg==
2943
2940
2944
2941
2945
2942
version "0.5.31"
@@ -8389,7 +8386,7 @@ expect@^24.5.0:
8389
8386
jest-message-util "^24.9.0"
8390
8387
jest-regex-util "^24.9.0"
8391
8388
8392
- expect@^29.0.0, expect@^29. 7.0:
8389
+ expect@^29.7.0:
8393
8390
version "29.7.0"
8394
8391
resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc"
8395
8392
integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==
@@ -14108,7 +14105,7 @@ pretty-format@^27.0.2:
14108
14105
ansi-styles "^5.0.0"
14109
14106
react-is "^17.0.1"
14110
14107
14111
- pretty-format@^29.0.0, pretty-format@^29. 7.0:
14108
+ pretty-format@^29.7.0:
14112
14109
version "29.7.0"
14113
14110
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812"
14114
14111
integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==
You can’t perform that action at this time.
0 commit comments