Skip to content

Commit 8f89da3

Browse files
🔨 Fix failing spec
1 parent b684b6c commit 8f89da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InstabugSample/__tests__/instabugUtils.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('Test global error handler', () => {
6161
Platform.OS = 'android';
6262
Instabug._isOnReportHandlerSet = jest.fn(() => true);
6363
const handler = global.ErrorUtils.getGlobalHandler();
64-
IBGEventEmitter.addListener(IBGConstants.SEND_UNHANDLED_CRASH, (actual) => {
64+
IBGEventEmitter.addListener(Instabug, IBGConstants.SEND_UNHANDLED_CRASH, (actual) => {
6565
const expected = {
6666
message: 'TypeError - This is a type error.',
6767
os: 'android',

0 commit comments

Comments
 (0)