Update unit test

This commit is contained in:
Jill Regan
2026-02-22 12:37:21 -05:00
parent 50fb695a57
commit 44af64418a
2 changed files with 11 additions and 10 deletions

View File

@@ -113,7 +113,6 @@ const getFileContentWithRetry = async (
itemId: string,
fileId: string,
): Promise<string> => {
const maxAttempts = 3;
const retryDelayMs = 2000;
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
@@ -299,7 +298,9 @@ const validateSecretRefs = (envNames: string[]): void => {
// Throw an error if any secret references are invalid
if (invalid.length > 0) {
const details = invalid.map(({ name, message }) => `${name}: ${message}`).join("; ");
const details = invalid
.map(({ name, message }) => `${name}: ${message}`)
.join("; ");
throw new Error(`Invalid secret reference(s): ${details}`);
}
};