Skip to content

Commit 95a62b3

Browse files
committed
global error handler test re-written to match the change
1 parent f44346a commit 95a62b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/global-error-handler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('globalErrorHandler', () => {
4444
success: false,
4545
message: 'Invalid input',
4646
errorDetails: { field: 'email' },
47-
stack: expect.any(String), // ✔️ Stack exists, no need to match content
47+
stack: expect.anything()
4848
})
4949
);
5050
});

0 commit comments

Comments
 (0)