We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5feca42 commit 618b1aeCopy full SHA for 618b1ae
tests/rslib/rspress.ts
@@ -1,11 +1,14 @@
1
import type { RunOptions } from '../../types';
2
-import { runInRepo } from '../../utils';
+import { $, runInRepo } from '../../utils';
3
4
export async function test(options: RunOptions) {
5
await runInRepo({
6
...options,
7
repo: 'web-infra-dev/rspress',
8
branch: process.env.RSPRESS ?? 'main',
9
+ beforeTest: async () => {
10
+ await $`pnpm playwright install --with-deps`;
11
+ },
12
test: ['test'],
13
});
14
}
0 commit comments