Skip to content

Commit

Permalink
feat: add rsdoctor UT test
Browse files Browse the repository at this point in the history
  • Loading branch information
easy1090 committed Jan 24, 2025
1 parent 5dd6fc0 commit e692d13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/rsdoctor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runInRepo, $ } from '../utils'
import { runInRepo, $, cd } from '../utils'
import { RunOptions } from '../types'

export async function test(options: RunOptions) {
Expand All @@ -7,7 +7,9 @@ export async function test(options: RunOptions) {
repo: 'web-infra-dev/rsdoctor',
branch: process.env.RSDOCTOR ?? 'main',
beforeTest: async () => {
cd('./e2e')
await $`pnpm playwright install --with-deps`
cd('..')
},
test: ['test:all'],
})
Expand Down

0 comments on commit e692d13

Please sign in to comment.