Skip to content

Commit 3d2c8c2

Browse files
fix: update harness command for verbose output and adjust timeout settings for reliability
1 parent ffa764d commit 3d2c8c2

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"app:install:ios": "xcrun simctl install booted ios/build/Build/Products/Debug-iphonesimulator/MendixNativeExample.app",
1414
"app:package:android": "(cd android && ./gradlew assembleDebug --no-daemon)",
1515
"app:install:android": "adb install -r android/app/build/outputs/apk/debug/app-debug.apk",
16-
"harness": "react-native-harness",
16+
"harness": "react-native-harness --verbose",
1717
"harness:ios": "yarn harness --harnessRunner ios",
1818
"harness:android": "yarn harness --harnessRunner android",
1919
"harness:all": "yarn harness:ios && yarn harness:android",

example/rn-harness.config.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import {
1010
const config = {
1111
entryPoint: './index.js',
1212
appRegistryComponentName: 'App',
13-
14-
// Increase timeouts for better reliability
15-
bridgeTimeout: 120000, // 2 minutes
16-
bundleStartTimeout: 30000, // 30 seconds
13+
bridgeTimeout: 300000,
14+
bundleStartTimeout: 300000,
1715
maxAppRestarts: 3,
1816
resetEnvironmentBetweenTestFiles: true,
17+
defaultRunner: 'android',
18+
unstable__skipAlreadyIncludedModules: false,
1919

2020
runners: [
2121
androidPlatform({
@@ -29,8 +29,6 @@ const config = {
2929
bundleId: 'mendixnative.example',
3030
}),
3131
],
32-
defaultRunner: 'android',
33-
unstable__skipAlreadyIncludedModules: false,
3432
};
3533

3634
export default config;

0 commit comments

Comments
 (0)