File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { dirname } from 'node:path';
2
2
import { fileURLToPath } from 'node:url' ;
3
3
import { expect , test } from '@playwright/test' ;
4
4
import { createRsbuild } from '@rsbuild/core' ;
5
- import { pluginExample } from '../../src' ;
6
5
import { getRandomPort } from '../helper' ;
7
6
8
7
const __dirname = dirname ( fileURLToPath ( import . meta. url ) ) ;
@@ -11,7 +10,6 @@ test('should render page as expected', async ({ page }) => {
11
10
const rsbuild = await createRsbuild ( {
12
11
cwd : __dirname ,
13
12
rsbuildConfig : {
14
- plugins : [ pluginExample ( ) ] ,
15
13
server : {
16
14
port : getRandomPort ( ) ,
17
15
} ,
@@ -29,9 +27,7 @@ test('should render page as expected', async ({ page }) => {
29
27
test ( 'should build succeed' , async ( { page } ) => {
30
28
const rsbuild = await createRsbuild ( {
31
29
cwd : __dirname ,
32
- rsbuildConfig : {
33
- plugins : [ pluginExample ( ) ] ,
34
- } ,
30
+ rsbuildConfig : { } ,
35
31
} ) ;
36
32
37
33
await rsbuild . build ( ) ;
You can’t perform that action at this time.
0 commit comments