From 23f6ebe8f97b4d581ecae71f153586c4fea8a748 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Thu, 3 Oct 2024 18:54:41 -0400 Subject: [PATCH] test: istanbul -> v8 --- src/cache.ts | 2 +- src/get-installation-authentication.ts | 4 ++-- src/hook.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cache.ts b/src/cache.ts index d384be808..8fbf41426 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -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, diff --git a/src/get-installation-authentication.ts b/src/get-installation-authentication.ts index 9a471fa09..889e5ee27 100644 --- a/src/get-installation-authentication.ts +++ b/src/get-installation-authentication.ts @@ -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 diff --git a/src/hook.ts b/src/hook.ts index 46aac02ea..029efb1c4 100644 --- a/src/hook.ts +++ b/src/hook.ts @@ -121,7 +121,7 @@ async function sendRequestWithRetries( ): Promise { 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) {