Skip to content

Commit

Permalink
fix: test console expect
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Dec 13, 2024
1 parent 0409c6c commit 0526ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/tests/controllers/ChainController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ describe('ChainController', () => {

await ChainController.disconnect()

expect(consoleSpy).toHaveBeenCalledWith('Failed to disconnect chains', expect.any(Error))
expect(consoleSpy).toHaveBeenCalledWith(expect.stringContaining('EVM disconnect failed'))
expect(sendEventSpy).toHaveBeenCalledWith({
type: 'track',
event: 'DISCONNECT_ERROR',
Expand Down

0 comments on commit 0526ca7

Please sign in to comment.