Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed Dec 23, 2024
1 parent dd667e8 commit 062e3d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/examples/pipe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ it("Async Pipe Usage Example Without Type Annotations Test", async () => {

it("Chained Async Pipe Usage Example Test", async () => {
const asyncPipe = createPipe()
.add(set.distinctAsync<number>)
.add((input) => single.mapAsync(input, async (x) => x**2))
.add((input) => single.filterAsync(input, (x) => x < 10))
.add(reduce.toSumAsync);
.add(set.distinctAsync<number>)
.add((input) => single.mapAsync(input, async (x) => x**2))
.add((input) => single.filterAsync(input, (x) => x < 10))
.add(reduce.toSumAsync);

{
const input = createAsyncIterableFixture([1, 1, 2, 2, 3, 4, 5]);
Expand Down

0 comments on commit 062e3d8

Please sign in to comment.