Skip to content

Commit 40d3b6c

Browse files
committed
Revert "make test less flaky"
This reverts commit ac42c35.
1 parent ac42c35 commit 40d3b6c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/redux/.testRun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ function testRun(cmd: `pnpm run ${'dev' | 'preview' | 'preview:ssg'}`) {
5252
const expectBananas = async () => {
5353
await autoRetry(async () => {
5454
expect(await getNumberOfItems()).toBe(3)
55-
expect(await page.textContent('body')).toContain('Buy bananas')
5655
})
56+
expect(await page.textContent('body')).toContain('Buy bananas')
5757
}
5858
await expectBananas()
5959

examples/zustand/.testRun.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ function testRun(cmd: 'pnpm run dev' | 'pnpm run preview') {
5555
const expectBananas = async () => {
5656
await autoRetry(async () => {
5757
expect(await getNumberOfItems()).toBe(3)
58-
expect(await page.textContent('body')).toContain('Buy bananas')
5958
})
59+
expect(await page.textContent('body')).toContain('Buy bananas')
6060
}
6161
await expectBananas()
6262
expectLog('{"text":"Buy bananas"}') // See `storeVanilla.subscribe()`

0 commit comments

Comments
 (0)