From 0cbb6889a3acdbb20f06a88746dff8f0fda4b330 Mon Sep 17 00:00:00 2001 From: easy1090 Date: Wed, 22 Jan 2025 17:40:15 +0800 Subject: [PATCH 1/3] feat: add rsdoctor UT test --- tests/rsdoctor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/rsdoctor.ts b/tests/rsdoctor.ts index 2821bfc..c5e3a23 100644 --- a/tests/rsdoctor.ts +++ b/tests/rsdoctor.ts @@ -7,10 +7,8 @@ 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: ['e2e'], + test: ['test:all'], }) } From 5dd6fc0d9b2f388b960ba736497c79d44e0c46ba Mon Sep 17 00:00:00 2001 From: easy1090 Date: Thu, 23 Jan 2025 19:00:57 +0800 Subject: [PATCH 2/3] feat: add rsdoctor UT test --- tests/rsdoctor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rsdoctor.ts b/tests/rsdoctor.ts index c5e3a23..19bdd72 100644 --- a/tests/rsdoctor.ts +++ b/tests/rsdoctor.ts @@ -1,4 +1,4 @@ -import { runInRepo, $, cd } from '../utils' +import { runInRepo, $ } from '../utils' import { RunOptions } from '../types' export async function test(options: RunOptions) { From e692d13cd17457aaa038e11ff251c0cdc028da5b Mon Sep 17 00:00:00 2001 From: easy1090 Date: Thu, 23 Jan 2025 19:27:34 +0800 Subject: [PATCH 3/3] feat: add rsdoctor UT test --- tests/rsdoctor.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/rsdoctor.ts b/tests/rsdoctor.ts index 19bdd72..54aa5bb 100644 --- a/tests/rsdoctor.ts +++ b/tests/rsdoctor.ts @@ -1,4 +1,4 @@ -import { runInRepo, $ } from '../utils' +import { runInRepo, $, cd } from '../utils' import { RunOptions } from '../types' export async function test(options: RunOptions) { @@ -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'], })