Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 7707ceb

Browse files
committed
build(jest): Correct ts include for test-types.
1 parent ea2747c commit 7707ceb

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

test/integration/StreamrClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ describeRepeats('StreamrClient', () => {
12021202
await waitForEvent(sub, 'resent')
12031203
expect(messages).toEqual(published.slice(-3))
12041204
})
1205-
}, 10000)
1205+
})
12061206

12071207
describe('utf-8 encoding', () => {
12081208
it('decodes realtime messages correctly', async () => {

tsconfig.node.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"resolveJsonModule": true,
2222
"module": "commonjs",
2323
"types": [
24-
"jest",
2524
"node"
2625
]
2726
},

tsconfig.test.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
{
22
"extends": "./tsconfig.node.json",
3-
"include": ["test/**/*"],
3+
"compilerOptions": {
4+
"types": [
5+
"jest",
6+
"node"
7+
]
8+
},
9+
"include": [
10+
"src/**/*",
11+
"vendor/**/*",
12+
"contracts/**/*",
13+
"test/**/*"
14+
],
415
"exclude": ["node_modules", "dist", "test/legacy/*"]
516
}

0 commit comments

Comments
 (0)