From df2635717dde34894a5693a5525c0896f00aef03 Mon Sep 17 00:00:00 2001 From: Vitaly Tomilov Date: Sun, 4 Aug 2024 19:38:02 +0100 Subject: [PATCH] reverting resolution issue --- test/ops/on-end/async.ts | 6 +++--- test/ops/on-end/sync.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/ops/on-end/async.ts b/test/ops/on-end/async.ts index f0d487a7..54332082 100644 --- a/test/ops/on-end/async.ts +++ b/test/ops/on-end/async.ts @@ -3,7 +3,7 @@ import {pipe, delay, onEnd, type IIterationSummary} from '../../../src'; export default () => { it('must notify for non-empty iterables', async () => { - let s = {} as typeof IIterationSummary; + let s = {} as IIterationSummary; const delays = [10, 20, 30, 5]; const i = pipe( _async([10, 20, 30, 5]), @@ -21,7 +21,7 @@ export default () => { expect(s.duration.min).not.to.be.undefined; }); it('must measure timing from start', async () => { - let s = {} as typeof IIterationSummary; + let s = {} as IIterationSummary; const i = pipe( _async([1]), delay(10), @@ -33,7 +33,7 @@ export default () => { expect(s.duration.total).to.be.greaterThanOrEqual(10); }); it('must notify for empty iterables', async () => { - let s = {} as typeof IIterationSummary; + let s = {} as IIterationSummary; const i = pipe( _async([]), onEnd((info) => { diff --git a/test/ops/on-end/sync.ts b/test/ops/on-end/sync.ts index ee9b6526..f2344cf3 100644 --- a/test/ops/on-end/sync.ts +++ b/test/ops/on-end/sync.ts @@ -3,7 +3,7 @@ import {pipe, onEnd, type IIterationSummary} from '../../../src'; export default () => { it('must notify for non-empty iterables', () => { - let s = {} as typeof IIterationSummary; + let s = {} as IIterationSummary; const i = pipe( [10, 20, 30], onEnd((info) => { @@ -19,7 +19,7 @@ export default () => { expect(s.duration.min).not.to.be.undefined; }); it('must notify for empty iterables', () => { - let s = {} as typeof IIterationSummary; + let s = {} as IIterationSummary; const i = pipe( [], onEnd((info) => {