Skip to content

Commit 821ad6d

Browse files
committed
fix: unit test
1 parent 8b0c750 commit 821ad6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/modules/Instabug.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,8 @@ describe('Instabug Module', () => {
455455
expect(NativeInstabug.setColorTheme).toBeCalledWith(theme);
456456
});
457457

458-
it('should call the native method setPrimaryColor', () => {
458+
it('should call the native method setPrimaryColor on iOS', () => {
459+
Platform.OS = 'ios';
459460
const color = '#fff';
460461
Instabug.setPrimaryColor(color);
461462

0 commit comments

Comments
 (0)