test!: Remove testing utils for getting GitHub token

This is no longer needed under the new API.
pull/77/head
parent 81ae9e771c
commit 40341375dd

@ -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
}
Loading…
Cancel
Save