diff --git a/tests/rspack/rsbuild.ts b/tests/rspack/rsbuild.ts index 4860991..487c50c 100644 --- a/tests/rspack/rsbuild.ts +++ b/tests/rspack/rsbuild.ts @@ -1,16 +1,11 @@ import type { RunOptions } from '../../types'; -import { $, cd, runInRepo } from '../../utils'; +import { runInRepo } from '../../utils'; export async function test(options: RunOptions) { await runInRepo({ ...options, repo: 'web-infra-dev/rsbuild', branch: process.env.RSBUILD_REF ?? 'main', - beforeTest: async () => { - cd('./e2e'); - await $`pnpm playwright install chromium`; - cd('..'); - }, - test: ['e2e:rspack'], + test: ['e2e'], }); }