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';
22import { fileURLToPath } from 'node:url' ;
33import { expect , test } from '@playwright/test' ;
44import { createRsbuild } from '@rsbuild/core' ;
5- import { pluginExample } from '../../src' ;
65import { getRandomPort } from '../helper' ;
76
87const __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 }) => {
2927test ( '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 ( ) ;
You can’t perform that action at this time.
0 commit comments