Skip to content

Commit eeb5edd

Browse files
committed
TEST
1 parent c3f1726 commit eeb5edd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/__tests__/validate.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('client report-image validation', () => {
88
} catch (error) {
99
expect(error.message).toBe(`Validation Error: ["CF_API_KEY must be provided as environment variable.",` +
1010
`"CF_IMAGE must be provided as environment variable.",`+
11-
`"CF_HOST must be provided as app-proxy http/s address TEST"]`)
11+
`"CF_HOST must be provided as app-proxy http/s address TEST2"]`)
1212
return
1313
}
1414
fail(`should have thrown Validation Error`)

src/validate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function validate(payload: Record<string, string|undefined>): Record<stri
1313
messages.push(`CF_IMAGE must be provided as environment variable.`)
1414
}
1515
if (!filtered['CF_HOST']) {
16-
messages.push(`CF_HOST must be provided as app-proxy http/s address TEST`)
16+
messages.push(`CF_HOST must be provided as app-proxy http/s address TEST2`)
1717
}
1818
if (messages.length > 0) {
1919
throw new errors.ValidationError(`Validation Error: ${JSON.stringify(messages)}`)

0 commit comments

Comments
 (0)