Skip to content

Commit c3cb210

Browse files
Ali AbdelfattahAliAbdelfattah
authored andcommitted
Update __tests__/index.spec.js
Remove deprecated test
1 parent 475cfcf commit c3cb210

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

__tests__/index.spec.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ describe('Instabug Module', () => {
5656
const enable = sinon.spy(NativeModules.Instabug, 'enable');
5757
const disable = sinon.spy(NativeModules.Instabug, 'disable');
5858
const isRunningLive = sinon.spy(NativeModules.Instabug, 'isRunningLive');
59-
const setVideoRecordingFloatingButtonPosition = sinon.spy(NativeModules.IBGBugReporting, 'setVideoRecordingFloatingButtonPosition');
6059
const showWelcomeMessageWithMode = sinon.spy(NativeModules.Instabug, 'showWelcomeMessageWithMode');
6160
const setWelcomeMessageMode = sinon.spy(NativeModules.Instabug, 'setWelcomeMessageMode');
6261
const setFileAttachment = sinon.spy(NativeModules.Instabug, 'setFileAttachment');
@@ -503,15 +502,6 @@ describe('Instabug Module', () => {
503502

504503
});
505504

506-
it('should call the native method setVideoRecordingFloatingButtonPosition', () => {
507-
508-
const position = 30;
509-
Instabug.setVideoRecordingFloatingButtonPosition(position);
510-
511-
expect(setVideoRecordingFloatingButtonPosition.calledOnceWithExactly(position)).toBe(true);
512-
513-
});
514-
515505
it('should call the native method showWelcomeMessageWithMode', () => {
516506

517507
const mode = Instabug.welcomeMessageMode.beta;
@@ -710,5 +700,3 @@ describe('Instabug Module', () => {
710700
});
711701

712702
});
713-
714-

0 commit comments

Comments
 (0)