Commit 24ff75c
authored
refactor: Unify
This pull request updates TypeScript Jest configuration files to
centralize and standardize the declaration of custom test utility types.
The main change is moving the inclusion of
`@streamr/test-utils/customMatcherTypes` from package-level
configurations into the root `tsconfig.jest.json`, ensuring all packages
consistently include these types during testing.
### Changes
**TypeScript Jest configuration updates:**
* Added `@streamr/test-utils/customMatcherTypes` to the `types` array in
the root `tsconfig.jest.json` so that custom matcher types are available
project-wide.
* Removed redundant `types` declarations from
`packages/cli-tools/tsconfig.jest.json` and
`packages/trackerless-network/tsconfig.jest.json` to rely on the
centralized configuration.
[[1]](diffhunk://#diff-198e2b7b2035fa308d0d3c58fddc55ee01229e98c40f7c40ac11cffb40092f83L3-L9)
[[2]](diffhunk://#diff-c14c2d64f2874f18ecea49d8f61528f5d0a7064ce5e125b3807f2c1dc3491d30L4-L8)types for jest tsconfigs (#3298)1 parent 3c97533 commit 24ff75c
File tree
3 files changed
+6
-13
lines changed- packages
- cli-tools
- trackerless-network
3 files changed
+6
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 3 | | |
11 | 4 | | |
12 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 4 | | |
10 | 5 | | |
11 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
0 commit comments