Skip to content

Commit a930fd1

Browse files
authored
refactor: Customize tsconfig types declaration for utils (#3327)
This pull request makes a small update to the TypeScript configuration for Karma tests in `packages/utils`. The change adds type definitions for `jest` and `jest-extended` to ensure proper type support when running tests. ## Notes For some reason ts does not complain about the missing `@streamr/test-utils` in the utils package. It should, really. It's not its dependency. It will (would) in the future (when we intro bundles).
1 parent 01185d0 commit a930fd1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/utils/tsconfig.karma.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"extends": "../../tsconfig.karma.json",
33
"compilerOptions": {
4+
"types": [
5+
"jest",
6+
"jest-extended"
7+
],
48
"outDir": "dist"
59
},
610
"include": [

0 commit comments

Comments
 (0)