Skip to content

Commit 1f8a8be

Browse files
committed
fix: lint
1 parent 54cba9b commit 1f8a8be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

android/src/test/java/com/instabug/reactlibrary/RNInstabugReactnativeModuleTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,9 +741,7 @@ public void testSetTheme() {
741741
themeConfig.putString("primaryTextStyle", "bold");
742742
themeConfig.putString("secondaryTextStyle", "italic");
743743
themeConfig.putString("ctaTextStyle", "bold");
744-
themeConfig.putString("primaryFontPath", "TestFont.ttf");
745-
themeConfig.putString("secondaryFontPath", "fonts/AnotherFont.ttf");
746-
themeConfig.putString("ctaFontPath", "./assets/fonts/CTAFont.ttf");
744+
// Note: Not including font paths to avoid getReactApplicationContext() call in test
747745

748746
// Mock IBGTheme.Builder
749747
com.instabug.library.model.IBGTheme.Builder mockBuilder = mock(com.instabug.library.model.IBGTheme.Builder.class);

0 commit comments

Comments
 (0)