[tests][cli] convert CLI integration tests to TS (#9672)

Converts the CLI integration tests to TypeScript. This will make it easier to pick apart the test pollution.
This commit is contained in:
Sean Massa
2023-03-18 13:21:45 -05:00
committed by GitHub
parent 151b0dfb63
commit 4c77dab5cb
2 changed files with 226 additions and 92 deletions

View File

@@ -199,6 +199,9 @@ async function fetchCachedToken() {
return token;
}
/**
* @returns { Promise<String> }
*/
async function fetchTokenWithRetry(retries = 5) {
const {
NOW_TOKEN,