We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ec017 commit 8bdf690Copy full SHA for 8bdf690
android/src/test/java/com/instabug/reactlibrary/RNInstabugReactnativeModuleTest.java
@@ -662,4 +662,19 @@ public void testW3CCaughtHeaderFlag(){
662
boolean expected=internalAPM._isFeatureEnabled(CoreFeature.W3C_ATTACHING_CAPTURED_HEADER);
663
verify(promise).resolve(expected);
664
}
665
+
666
667
+ @Test
668
+ public void testSetNetworkLogBodyEnabled() {
669
+ rnModule.setNetworkLogBodyEnabled(true);
670
671
+ mockInstabug.verify(() -> Instabug.setNetworkLogBodyEnabled(true));
672
+ }
673
674
675
+ public void testSetNetworkLogBodyDisabled() {
676
+ rnModule.setNetworkLogBodyEnabled(false);
677
678
+ mockInstabug.verify(() -> Instabug.setNetworkLogBodyEnabled(false));
679
680
0 commit comments