Skip to content

Commit

Permalink
fix: android tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshmm02 committed Nov 22, 2024
1 parent 5587b88 commit 5d1bdb0
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,7 @@ class MainApplication : Application(), ReactApplication {
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG

override fun getPackages(): List<ReactPackage> =
listOf(MainReactPackage(), NativeModulesPackage(), WatermelonDBPackage())

override fun getJSIModulePackage(): JSIModulePackage {
return JSIModulePackage { reactApplicationContext, jsContext ->
mutableListOf<JSIModuleSpec<JSIModule>>().apply {
addAll(
WatermelonDBJSIPackage().getJSIModules(
reactApplicationContext,
jsContext,
),
)
}
}
}
listOf(MainReactPackage(), NativeModulesPackage(), WatermelonDBPackage(), WatermelonDBJSIPackage())

override fun getJSMainModuleName(): String = "src/index.integrationTests.native"
}
Expand Down

0 comments on commit 5d1bdb0

Please sign in to comment.