chore: Update eslint dependencies

This commit is contained in:
Joachim Van Herwegen
2021-12-16 16:07:39 +01:00
parent 65d1eeb0a2
commit af049124bf
26 changed files with 1639 additions and 1714 deletions

View File

@@ -23,7 +23,7 @@ describe('StreamUtil', (): void => {
describe('#readableToString', (): void => {
it('concatenates all elements of a Readable.', async(): Promise<void> => {
const stream = Readable.from([ 'a', 'b', 'c' ]);
await expect(readableToString(stream)).resolves.toEqual('abc');
await expect(readableToString(stream)).resolves.toBe('abc');
});
});
@@ -77,7 +77,7 @@ describe('StreamUtil', (): void => {
const input = Readable.from([ 'data' ]);
const output = new PassThrough();
const piped = pipeSafely(input, output);
await expect(readableToString(piped)).resolves.toEqual('data');
await expect(readableToString(piped)).resolves.toBe('data');
});
it('pipes errors from one stream to the other.', async(): Promise<void> => {