Skip to content

Commit 2515526

Browse files
committed
chore: 🤖 解决CI运行问题
1 parent 114a184 commit 2515526

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/basic/index.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { dirname } from 'node:path';
22
import { fileURLToPath } from 'node:url';
33
import { expect, test } from '@playwright/test';
44
import { createRsbuild } from '@rsbuild/core';
5-
import { pluginExample } from '../../src';
65
import { getRandomPort } from '../helper';
76

87
const __dirname = dirname(fileURLToPath(import.meta.url));
@@ -11,7 +10,6 @@ test('should render page as expected', async ({ page }) => {
1110
const rsbuild = await createRsbuild({
1211
cwd: __dirname,
1312
rsbuildConfig: {
14-
plugins: [pluginExample()],
1513
server: {
1614
port: getRandomPort(),
1715
},
@@ -29,9 +27,7 @@ test('should render page as expected', async ({ page }) => {
2927
test('should build succeed', async ({ page }) => {
3028
const rsbuild = await createRsbuild({
3129
cwd: __dirname,
32-
rsbuildConfig: {
33-
plugins: [pluginExample()],
34-
},
30+
rsbuildConfig: {},
3531
});
3632

3733
await rsbuild.build();

0 commit comments

Comments
 (0)