Skip to content

Commit d7b853b

Browse files
authored
fix: update Rsbuild e2e scripts (#8)
1 parent a3c2dcf commit d7b853b

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

tests/rspack/rsbuild.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
import type { RunOptions } from '../../types';
2-
import { $, cd, runInRepo } from '../../utils';
2+
import { runInRepo } from '../../utils';
33

44
export async function test(options: RunOptions) {
55
await runInRepo({
66
...options,
77
repo: 'web-infra-dev/rsbuild',
88
branch: process.env.RSBUILD_REF ?? 'main',
9-
beforeTest: async () => {
10-
cd('./e2e');
11-
await $`pnpm playwright install chromium`;
12-
cd('..');
13-
},
14-
test: ['e2e:rspack'],
9+
test: ['e2e'],
1510
});
1611
}

0 commit comments

Comments
 (0)