From ea3e21d0fad18b4cca20dd62a0b5d2974e604073 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Fri, 2 Feb 2024 20:10:51 -0600 Subject: [PATCH] test!: Remove testing utils for getting GitHub token This is no longer needed under the new API. --- test/utils.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 test/utils.ts diff --git a/test/utils.ts b/test/utils.ts deleted file mode 100644 index 5f3de85..0000000 --- a/test/utils.ts +++ /dev/null @@ -1,12 +0,0 @@ -export function getToken(first: boolean): string { - const token = process.env["GITHUB_TOKEN"] || "" - if (!token && first) { - /* eslint-disable-next-line no-console */ - console.warn( - "Skipping GitHub tests. Set $GITHUB_TOKEN to run REST client and GraphQL client tests" - ) - first = false - } - - return token -}