MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / selectStrategy

Function selectStrategy

Example/e2etest/e2e/local-merge.test.ts:126–133  ·  view source on GitHub ↗
(
  testId: 'strategy-silent-now' | 'strategy-silent-later',
)

Source from the content-addressed store, hash-verified

124}
125
126async function selectStrategy(
127 testId: 'strategy-silent-now' | 'strategy-silent-later',
128) {
129 await waitFor(element(by.id(testId)))
130 .toBeVisible()
131 .withTimeout(10000);
132 await element(by.id(testId)).tap();
133}
134
135describe('Local Update Merge E2E', () => {
136 beforeEach(async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected