Skip to content

Commit

Permalink
chore: 🤖 解决CI运行问题
Browse files Browse the repository at this point in the history
  • Loading branch information
cklwblove committed Dec 13, 2024
1 parent 114a184 commit 2515526
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/basic/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import { expect, test } from '@playwright/test';
import { createRsbuild } from '@rsbuild/core';
import { pluginExample } from '../../src';
import { getRandomPort } from '../helper';

const __dirname = dirname(fileURLToPath(import.meta.url));
Expand All @@ -11,7 +10,6 @@ test('should render page as expected', async ({ page }) => {
const rsbuild = await createRsbuild({
cwd: __dirname,
rsbuildConfig: {
plugins: [pluginExample()],
server: {
port: getRandomPort(),
},
Expand All @@ -29,9 +27,7 @@ test('should render page as expected', async ({ page }) => {
test('should build succeed', async ({ page }) => {
const rsbuild = await createRsbuild({
cwd: __dirname,
rsbuildConfig: {
plugins: [pluginExample()],
},
rsbuildConfig: {},
});

await rsbuild.build();
Expand Down

0 comments on commit 2515526

Please sign in to comment.