From 8c8565e41bda4b3888b729595736b1972f1ce494 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Tue, 26 Sep 2023 16:17:33 -0500 Subject: [PATCH] fix: new coverage locations --- src/registry/coverage.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/registry/coverage.ts b/src/registry/coverage.ts index 7ca0c4055f..10b657f109 100644 --- a/src/registry/coverage.ts +++ b/src/registry/coverage.ts @@ -31,8 +31,18 @@ export const getCurrentApiVersion = async (): Promise => export const getCoverage = async (apiVersion: number): Promise => { const results = await Promise.allSettled( // one of these will match the current version, but they differ during the release cycle - [44, 45, 46].map(async (na) => - got(getProxiedOptions(`https://na${na}.test1.pc-rnd.salesforce.com/mdcoverage/api.jsp`)).json() + // references: https://confluence.internal.salesforce.com/pages/viewpage.action?pageId=194189303 + [ + { cell: 'sdb3', test: 1 }, + { cell: 'ora3', test: 1 }, + { cell: 'sdb6', test: 1 }, + { cell: 'ora6', test: 1 }, + { cell: 'ora8', test: 2 }, + { cell: 'sdb14', test: 2 }, + ].map(async ({ cell, test }) => + got( + getProxiedOptions(`https://${cell}.test${test}.pc-rnd.pc-aws.salesforce.com/mdcoverage/api.jsp`) + ).json() ) ); for (const result of results) {