Skip to content

Commit 9e02818

Browse files
authored
test: fix snapshot (#101)
1 parent c19838f commit 9e02818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/error.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe("APIError", () => {
3232
expect(loggedString).toMatchInlineSnapshot(`
3333
"[InternalAPIError: Test error in function] {
3434
status: 'INTERNAL_SERVER_ERROR',
35-
body: { code: 'TEST_ERROR_IN_FUNCTION', message: 'Test error in function' },
35+
body: { message: 'Test error in function' },
3636
headers: {},
3737
statusCode: 500
3838
}"

0 commit comments

Comments
 (0)