remove usage of @ts-ignore

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-06-17 18:03:55 +02:00
parent ad81113494
commit 6532c8084a
2 changed files with 2 additions and 4 deletions
@@ -78,8 +78,7 @@ describe('ReadUrlResponseFactory', () => {
let readable: NodeJS.ReadableStream;
beforeEach(() => {
// @ts-ignore
readable = new Stream({ encoding: 'utf-8' });
readable = new Stream({ encoding: 'utf-8' }) as NodeJS.ReadableStream;
readable.readable = true;
// Write data asynchronously, as soon as possible.