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

Commit 0dc6b02

Browse files
committed
test: Tidy LongResend test.
1 parent 42ac9f1 commit 0dc6b02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/flakey/LongResend.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { wait } from 'streamr-test-utils'
2-
import StreamrClient, { Stream } from '../../src'
2+
import { StreamrClient } from '../../src/StreamrClient'
3+
import { Stream } from '../../src/stream'
34
import { fakePrivateKey } from '../utils'
45
import Connection from '../../src/Connection'
56
import prettyBytes from 'pretty-bytes'
@@ -98,6 +99,7 @@ describe('LongResend', () => {
9899
} else {
99100
expect(count).toBe(10000)
100101
}
102+
// @ts-expect-error
101103
}, Math.max(10000, size))
102104
})
103105

@@ -130,5 +132,6 @@ describe('LongResend', () => {
130132
count,
131133
memory: logMemory()
132134
})
135+
// @ts-expect-error
133136
}, 1000000)
134137
})

0 commit comments

Comments
 (0)