Skip to content

Commit 5beace3

Browse files
committed
test: cleanup
1 parent 0f35edb commit 5beace3

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

packages/plugin-rsc/e2e/helper.ts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@ export const testNoJs = test.extend({
66

77
export async function waitForHydration(page: Page) {
88
await expect
9-
.poll(
10-
() =>
11-
page
12-
.locator('body')
13-
.evaluate(
14-
(el) =>
15-
el &&
16-
Object.keys(el).some((key) => key.startsWith('__reactFiber')),
17-
),
18-
{ timeout: 10000 },
9+
.poll(() =>
10+
page
11+
.locator('body')
12+
.evaluate(
13+
(el) =>
14+
el && Object.keys(el).some((key) => key.startsWith('__reactFiber')),
15+
),
1916
)
2017
.toBeTruthy()
2118
}

packages/plugin-rsc/playwright.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export default defineConfig({
2626
use: devices['Desktop Safari'],
2727
},
2828
],
29-
workers: 1,
3029
forbidOnly: !!process.env.CI,
3130
retries: process.env.CI ? 2 : 0,
3231
reporter: ['list', process.env.CI && 'github']

0 commit comments

Comments
 (0)