Resets the cached GitHub token and fetch-attempted flag.
Intended for use in tests to ensure a clean state between test cases. After calling this, the next call to getGitHubToken will re-fetch the token.
afterEach(() => { resetGitHubTokenCache();}); Copy
afterEach(() => { resetGitHubTokenCache();});
Resets the cached GitHub token and fetch-attempted flag.
Intended for use in tests to ensure a clean state between test cases. After calling this, the next call to getGitHubToken will re-fetch the token.