Skip to content

Conversation

@mondoreale
Copy link
Contributor

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] [2]

@github-actions github-actions bot added network Related to Network Package cli-tools Related to CLI Tools Package labels Dec 14, 2025
@mondoreale mondoreale merged commit 24ff75c into main Dec 14, 2025
23 checks passed
@mondoreale mondoreale deleted the unify-types-in-jest-tsconfigs branch December 14, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli-tools Related to CLI Tools Package network Related to Network Package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants