File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ describe('CrashReporting Module', () => {
44
44
it ( 'should call the native method sendHandledJSCrash when platform is ios' , ( ) => {
45
45
46
46
Platform . OS = 'ios' ;
47
- InstabugUtils . parseErrorStack . mockImplementation ( ( ) => 'javascriptStackTrace' ) ;
48
47
const errorObject = { name : 'TypeError' , message : 'Invalid type' } ;
49
48
CrashReporting . reportJSException ( errorObject ) ;
50
49
@@ -62,7 +61,6 @@ describe('CrashReporting Module', () => {
62
61
it ( 'should call the native method sendHandledJSCrash when platform is android' , ( ) => {
63
62
64
63
Platform . OS = 'android' ;
65
- InstabugUtils . parseErrorStack . mockImplementation ( ( ) => 'javascriptStackTrace' ) ;
66
64
const errorObject = { name : 'TypeError' , message : 'Invalid type' } ;
67
65
CrashReporting . reportJSException ( errorObject ) ;
68
66
@@ -81,7 +79,6 @@ describe('CrashReporting Module', () => {
81
79
it ( 'should emit event IBGSendHandledJSCrash with the error object when platform is android' , ( done ) => {
82
80
83
81
Platform . OS = 'android' ;
84
- InstabugUtils . parseErrorStack . mockImplementation ( ( ) => 'javascriptStackTrace' ) ;
85
82
InstabugUtils . isOnReportHandlerSet . mockImplementation ( ( ) => true ) ;
86
83
87
84
const errorObject = { name : 'TypeError' , message : 'Invalid type' } ;
You can’t perform that action at this time.
0 commit comments