Skip to content

Commit f21dcb5

Browse files
authored
Merge branch 'main' into rlamb/fdv2-contract-test-updates
2 parents fdf83b0 + 0b32cb0 commit f21dcb5

26 files changed

Lines changed: 29 additions & 28 deletions

File tree

.github/workflows/react-native-detox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
arch: x86_64
8686
avd-name: ${{ steps.device.outputs.AVD_NAME }}
8787
working-directory: packages/sdk/react-native/example
88-
script: yarn detox test --configuration android.emu.release --headless --record-logs all
88+
script: yarn detox test --configuration android.emu.release --headless --record-logs all --retries 2
8989

9090
- name: Upload artifacts
9191
if: always()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts"],
3+
"include": ["**/*.ts"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts"],
3+
"include": ["**/*.ts"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts"],
3+
"include": ["**/*.ts"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts", "/**/*.tsx"],
3+
"include": ["**/*.ts", "**/*.tsx"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts"],
3+
"include": ["**/*.ts"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts", "/**/*.tsx"],
3+
"include": ["**/*.ts", "**/*.tsx"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts"],
3+
"include": ["**/*.ts"],
44
"exclude": ["node_modules"]
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["/**/*.ts"],
3+
"include": ["**/*.ts"],
44
"exclude": ["node_modules"]
55
}

packages/sdk/react-native/example/e2e/starter.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ describe('given the example application', () => {
55
await device.launchApp({
66
newInstance: true,
77
launchArgs: {
8-
// Detox will wait for HTTP requests to complete. This prevents detox from waiting for
9-
// requests matching this URL to complete.
10-
detoxURLBlacklistRegex: '\\("^https://clientstream.launchdarkly.com/meval.*"\\)',
8+
// Detox waits for HTTP requests to complete. Blacklist all LD endpoints so
9+
// streaming, polling, and event requests don't block test synchronization.
10+
detoxURLBlacklistRegex:
11+
'\\(".*clientstream.launchdarkly.com.*",".*clientsdk.launchdarkly.com.*",".*events.launchdarkly.com.*"\\)',
1112
},
1213
});
1314
});

0 commit comments

Comments
 (0)