Skip to content

Commit d63bcf3

Browse files
committed
fix test
1 parent 89107ba commit d63bcf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/validate.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('client report-image validation', () => {
1616
try {
1717
validate({ CF_API_KEY: '1', alsoIgnored: 'ignored', IGNORED: 'ignored too', CF_IMAGE: 'testImage', CF_HOST: `host.io`, CF_RUNTIME_NAME: 'runtime' })
1818
} catch (error) {
19-
const expectedErrorMsg = 'Validation Error: ["You can only specify CF_RUNTIME_NAME or CF_HOST. please delete one of them."]'
19+
const expectedErrorMsg = '["You can only specify CF_RUNTIME_NAME or CF_HOST. please delete one of them."]'
2020
expect(error.message).toBe(expectedErrorMsg)
2121
return
2222
}

0 commit comments

Comments
 (0)