Skip to content

Commit

Permalink
feat: sdk-js 5.3.0 (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
pashidlos committed Mar 25, 2022
1 parent e997ccc commit 76e312c
Show file tree
Hide file tree
Showing 3 changed files with 12,052 additions and 3,841 deletions.
2 changes: 1 addition & 1 deletion lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const trackWithRetry = (
shouldStopFn: (result: TestRunResponse) => boolean,
onStopFn: (result: TestRunResponse) => Cypress.Chainable<unknown>,
retryLimit: number = 2
): Cypress.Chainable<unknown> => {
): unknown => {
return trackFn().then((result) => {
if (retryLimit <= 0 || shouldStopFn(result)) {
onStopFn(result);
Expand Down
Loading

0 comments on commit 76e312c

Please sign in to comment.