Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulGautamSingh committed Nov 20, 2024
1 parent 3c0b4b5 commit b3fc7b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/workers/global/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export function isLimitReached(
return handleOtherLimits(limit, config);
}

// istanbul ignore if: should not happen
throw new Error(

Check warning on line 198 in lib/workers/global/limits.ts

View check run for this annotation

Codecov / codecov/patch

lib/workers/global/limits.ts#L198

Added line #L198 was not covered by tests
'Config is required for computing limits for Branches and PullRequests',
);
Expand Down

0 comments on commit b3fc7b8

Please sign in to comment.