hunk.code_window:     Truth.assertThat(exception.getProperty("code").getString()).isEqualTo("ERR_UNEXPECTED")
       Truth.assertThat(exception.getProperty("message").getString()).contains("java.lang.IllegalStateException")
     }
     @Test(expected = JavaScriptEvaluateException::class)
     fun uncaught_error_should_be_piped_to_host_language() = withJSIInterop(
       inlineModule {
         Name("TestModule")
         Function("f") { ->
           throw IllegalStateException()
         }
       }
     ) {
       evaluateScript("expo.modules.TestModule.f()")
     }
     @Test
     fun typed_arrays_should_be_obtainable_as_function_argument() = withJSIInterop(
       inlineModule {
         Name("TestModule")
  
hunk.labels: keep keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
hunk.after_edit: //  @Test(expected = JavaScriptEvaluateException::class)
   //  fun uncaught_error_should_be_piped_to_host_language() = withJSIInterop(
   //    inlineModule {
   //      Name("TestModule")
   //      Function("f") { ->
   //        throw IllegalStateException()
   //      }
   //    }
   //  ) {
   //    evaluateScript("expo.modules.TestModule.f()")
   //  }
  
hunk.file_path: packages/expo-modules-core/android/src/androidTest/java/expo/modules/kotlin/jni/JSIFunctionsTest.kt
hunk.type: replace
file: // Copyright © 2018 650 Industries. All rights reserved.
  
  #import <Foundation/Foundation.h>
  #import <UIKit/UIKit.h>
  
  @protocol ABI45_0_0EXUIManager <NSObject>
  
  - (void)addUIBlock:(void (^)(NSDictionary<id, UIView *> *))block;
  - (void)addUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass;
  - (void)addUIBlock:(void (^)(id))block forView:(id)viewId implementingProtocol:(Protocol *)protocol;
  - (void)executeUIBlock:(void (^)(NSDictionary<id, UIView *> *))block;
  - (void)executeUIBlock:(void (^)(id))block forView:(id)viewId ofClass:(Class)klass;
  - (void)executeUIBlock:(void (^)(id))block forView:(id)viewId implementingProtocol:(Protocol *)protocol;
  - (void)dispatchOnClientThread:(dispatch_block_t)block;
  
  @end
  