From 071503eb3f0e6769bed94c6cee27bd58f879a1c5 Mon Sep 17 00:00:00 2001 From: branchseer Date: Tue, 11 Nov 2025 17:35:13 +0800 Subject: [PATCH] test: enable command-helper test in Windows --- packages/cli/snap-tests/command-helper/snap.txt | 10 +++++----- packages/cli/snap-tests/command-helper/steps.json | 11 +++++------ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/packages/cli/snap-tests/command-helper/snap.txt b/packages/cli/snap-tests/command-helper/snap.txt index 6ac381ccee..9a75a7c14b 100644 --- a/packages/cli/snap-tests/command-helper/snap.txt +++ b/packages/cli/snap-tests/command-helper/snap.txt @@ -1,4 +1,4 @@ -> vite lib -h # lib help message +> vp lib -h # lib help message tsdown/ Usage: @@ -51,7 +51,7 @@ Options: -v, --version Display version number -> vite fmt -h # fmt help message +> vp fmt -h # fmt help message Usage: [--check | --list-different] [-c=PATH] [--ignore-path=PATH]... [PATH]... Output Options @@ -82,7 +82,7 @@ Available options: -> vite lint -h # lint help message +> vp lint -h # lint help message Usage: [-c=<./.oxlintrc.json>] [PATH]... Basic Configuration @@ -179,7 +179,7 @@ Available options: -> vite build -h # build help message +> vp build -h # build help message vite/ Usage: @@ -209,7 +209,7 @@ Options: -h, --help Display this message -> vite test -h # test help message +> vp test -h # test help message vitest/ WARN: no options were found for your subcommands so we printed the whole output diff --git a/packages/cli/snap-tests/command-helper/steps.json b/packages/cli/snap-tests/command-helper/steps.json index 35372922f9..a83e8ea23b 100644 --- a/packages/cli/snap-tests/command-helper/steps.json +++ b/packages/cli/snap-tests/command-helper/steps.json @@ -1,13 +1,12 @@ { - "ignoredPlatforms": ["win32"], "env": { "VITE_DISABLE_AUTO_INSTALL": "1" }, "commands": [ - "vite lib -h # lib help message", - "vite fmt -h # fmt help message", - "vite lint -h # lint help message", - "vite build -h # build help message", - "vite test -h # test help message" + "vp lib -h # lib help message", + "vp fmt -h # fmt help message", + "vp lint -h # lint help message", + "vp build -h # build help message", + "vp test -h # test help message" ] }