Commit 826f57f
[heft-jest-plugin] Migrate from @types/heft-jest to @types/jest (#5772)
* [heft-jest-plugin] Migrate from @types/heft-jest to @types/jest
Replace the custom @types/heft-jest type shim with the official @types/jest
package across all projects. Also removes the jest-global-setup.ts workaround
that injected mocked() as a global — Jest 30 ships jest.mocked() as the
standard API, so the global shim is no longer appropriate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fixup! [heft-jest-plugin] Migrate from @types/heft-jest to @types/jest
* Fix `mocked` references.
* Include es2015.symbol.wellknown.
* fixup! Include es2015.symbol.wellknown.
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f022484 commit 826f57f
89 files changed
Lines changed: 315 additions & 210 deletions
File tree
- apps
- api-extractor/src/api/test/test-data
- config-lookup1
- config-lookup2
- config-lookup3
- src/test
- custom-tsdoc-tags
- rush
- build-tests-samples
- heft-node-basic-tutorial
- heft-node-jest-tutorial
- src/guide
- 02-manual-mock
- heft-node-rig-tutorial
- heft-serverless-stack-tutorial
- heft-storybook-v6-react-tutorial-storykit
- heft-storybook-v6-react-tutorial
- heft-storybook-v9-react-tutorial-storykit
- heft-storybook-v9-react-tutorial
- heft-web-rig-app-tutorial
- heft-web-rig-library-tutorial
- heft-webpack-basic-tutorial
- build-tests
- api-extractor-test-01
- heft-fastify-test
- heft-jest-preset-test
- config
- heft-jest-reporters-test
- heft-minimal-rig-usage-test
- heft-node-everything-esm-module-test
- heft-node-everything-test
- heft-parameter-plugin-test
- heft-rspack-everything-test
- heft-sass-test
- heft-swc-test
- heft-typescript-composite-test
- heft-webpack4-everything-test
- heft-webpack5-everything-test
- common
- changes
- @microsoft
- api-extractor
- rush
- @rushstack
- heft-jest-plugin
- heft-node-rig
- heft-vscode-extension-rig
- heft-web-rig
- webpack-workspace-resolve-plugin
- webpack5-module-minifier-plugin
- config/subspaces
- build-tests-subspace
- default
- heft-plugins/heft-jest-plugin
- includes
- src/exports
- libraries
- rush-lib
- rush-sdk
- rigs
- heft-node-rig
- profiles/default
- heft-vscode-extension-rig
- profiles/default
- heft-web-rig
- profiles
- app
- library
- local-node-rig
- profiles/default
- local-web-rig
- profiles
- app
- library
- rush-plugins
- rush-http-build-cache-plugin/src/test
- rush-resolver-cache-plugin
- webpack
- webpack-workspace-resolve-plugin
- webpack5-module-minifier-plugin
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments