Skip to content

Commit

Permalink
Fix error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie committed Aug 26, 2021
1 parent b7ad355 commit d0130cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api-tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const expectExtensionError = (
extensions: {
code: 'INTERNAL_SERVER_ERROR',
...(expectException
? { exception: { debug, stacktrace: expect.arrayContaining(stacktrace) } }
? { exception: { stacktrace: expect.arrayContaining(stacktrace) } }
: {}),
...(expectDebug ? { debug } : {}),
},
Expand Down

0 comments on commit d0130cd

Please sign in to comment.