Skip to content

Commit d77176b

Browse files
committed
.
1 parent 34a0272 commit d77176b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test-apps/native/src/OtherTest.perf.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test('<AsyncComponent />: 10 runs', async () => {
3131
const button = screen.getByText('Action');
3232

3333
fireEvent.press(button);
34+
await screen.findByText('Count: 1');
3435
fireEvent.press(button);
3536
await screen.findByText('Count: 2');
3637
};
@@ -43,6 +44,7 @@ test('<AsyncComponent />: 20 runs', async () => {
4344
const button = screen.getByText('Action');
4445

4546
fireEvent.press(button);
47+
await screen.findByText('Count: 1');
4648
fireEvent.press(button);
4749
await screen.findByText('Count: 2');
4850
};

test-apps/native/src/SlowList.perf.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ test('Async Component', async () => {
3232

3333
fireEvent.press(button);
3434
await screen.findByText('Count: 1');
35-
3635
fireEvent.press(button);
3736
await screen.findByText('Count: 2');
38-
3937
fireEvent.press(button);
38+
await screen.findByText('Count: 3');
4039
fireEvent.press(button);
40+
await screen.findByText('Count: 4');
4141
fireEvent.press(button);
4242
await screen.findByText('Count: 5');
4343
};

0 commit comments

Comments
 (0)