Skip to content

Commit

Permalink
test(rstream): minor update test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 8, 2021
1 parent b624396 commit 86a72ea
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion packages/rstream/test/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ group(
done();
}, TIMEOUT * 5);
},
foo: () => {
throw new Error("Illegal number: 23");
},
},
{ maxTries: 3, timeOut: TIMEOUT * 6 }
{ maxTrials: 3, timeOut: TIMEOUT * 6 }
);
2 changes: 1 addition & 1 deletion packages/rstream/test/from-iterable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ group(
},
},
{
maxTries: 3,
maxTrials: 3,
timeOut: TIMEOUT * 5,
beforeEach: () => {
src = fromIterable(data);
Expand Down
2 changes: 1 addition & 1 deletion packages/rstream/test/from-promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ group(
});
},
},
{ maxTries: 3 }
{ maxTrials: 3 }
);
2 changes: 1 addition & 1 deletion packages/rstream/test/metastream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ group(
},
},
{
maxTries: 3,
maxTrials: 3,
timeOut: TIMEOUT * 6,
}
);
2 changes: 1 addition & 1 deletion packages/rstream/test/pubsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ group(
},
},
{
maxTries: 3,
maxTrials: 3,
timeOut: TIMEOUT * 8,
}
);
2 changes: 1 addition & 1 deletion packages/rstream/test/stream-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ group(
},
},
{
maxTries: 3,
maxTrials: 3,
timeOut: TIMEOUT * 6,
}
);
2 changes: 1 addition & 1 deletion packages/rstream/test/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ group(
},
},
{
maxTries: 3,
maxTrials: 3,
timeOut: TIMEOUT * 5,
}
);
2 changes: 1 addition & 1 deletion packages/rstream/test/timeout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ group(
},
},
{
maxTries: 3,
maxTrials: 3,
timeOut: TIMEOUT * 4,
}
);

0 comments on commit 86a72ea

Please sign in to comment.