Skip to content

Commit

Permalink
reverting resolution issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Aug 4, 2024
1 parent 2e1989b commit df26357
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions test/ops/on-end/async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>;
let s = {} as IIterationSummary<any>;
const delays = [10, 20, 30, 5];
const i = pipe(
_async([10, 20, 30, 5]),
Expand All @@ -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<any>;
let s = {} as IIterationSummary<any>;
const i = pipe(
_async([1]),
delay(10),
Expand All @@ -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<any>;
let s = {} as IIterationSummary<any>;
const i = pipe(
_async([]),
onEnd((info) => {
Expand Down
4 changes: 2 additions & 2 deletions test/ops/on-end/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>;
let s = {} as IIterationSummary<any>;
const i = pipe(
[10, 20, 30],
onEnd((info) => {
Expand All @@ -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<any>;
let s = {} as IIterationSummary<any>;
const i = pipe(
[],
onEnd((info) => {
Expand Down

0 comments on commit df26357

Please sign in to comment.