Skip to content

Commit

Permalink
test: istanbul -> v8
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Oct 3, 2024
1 parent 06a5727 commit 23f6ebe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://github.com/isaacs/node-lru-cache#readme
import { LRUCache } from "lru-cache";

/* istanbul ignore next */
/* v8 ignore next */
import type {
InstallationAuthOptions,
Cache,
Expand Down
4 changes: 2 additions & 2 deletions src/get-installation-authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ export async function getInstallationAuthentication(
payload,
);

/* istanbul ignore next - permissions are optional per OpenAPI spec, but we think that is incorrect */
/* v8 ignore next - permissions are optional per OpenAPI spec, but we think that is incorrect */
const permissions = permissionsOptional || {};
/* istanbul ignore next - repositorySelection are optional per OpenAPI spec, but we think that is incorrect */
/* v8 ignore next - repositorySelection are optional per OpenAPI spec, but we think that is incorrect */
const repositorySelection = repositorySelectionOptional || "all";

const repositoryIds = repositories
Expand Down
2 changes: 1 addition & 1 deletion src/hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async function sendRequestWithRetries(
): Promise<AnyResponse> {
const timeSinceTokenCreationInMs = +new Date() - +new Date(createdAt);

/* istanbul ignore next - due to skipped tests, see https://github.com/octokit/auth-app.js/pull/580 */
/* v8 ignore next - due to skipped tests, see https://github.com/octokit/auth-app.js/pull/580 */
try {
return await request(options);
} catch (error: any) {
Expand Down

0 comments on commit 23f6ebe

Please sign in to comment.