Skip to content

Commit

Permalink
fix: integration test case (#4716)
Browse files Browse the repository at this point in the history
  • Loading branch information
yimingjfe authored Sep 24, 2023
1 parent 45e581e commit 9c49cf3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/integration/routes/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,9 +617,7 @@ describe('dev', () => {

describe('client data', () => {
test('support client data', async () => {
const page1 = await browser.newPage();
await supportClientLoader(page1, errors, appPort);
await page1.close();
await supportClientLoader(page, errors, appPort);
});
});

Expand Down Expand Up @@ -844,9 +842,7 @@ describe('dev with rspack', () => {

describe('client data', () => {
test('support client data', async () => {
const page1 = await browser.newPage();
await supportClientLoader(page1, errors, appPort);
await page1.close();
await supportClientLoader(page, errors, appPort);
});
});

Expand Down

0 comments on commit 9c49cf3

Please sign in to comment.