Skip to content

Commit f37eb64

Browse files
branchseerclaude
andcommitted
Disable builtin vite command tests on Windows
Add "ignoredPlatforms": ["win32"] to snap tests that use builtin vite commands (not `vite run`). These tests use commands like `vite install`, `vite lint`, `vite build`, `vite test`, `vite lib`, `vite fmt`, `vite dev`, `vite cache clean`, and `vite doc` which need to be skipped on Windows CI. Modified 18 test cases to exclude Windows platform. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a2030a0 commit f37eb64

File tree

18 files changed

+18
-1
lines changed

18 files changed

+18
-1
lines changed

packages/cli/snap-tests-todo/pnpm-install-with-options/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests-todo/test-panicked-fix/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/builtin-different-cwd/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/cache-clean/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/command-dev-with-port/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/command-doc/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/command-helper/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/command-install-shortcut/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/command-lib/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

packages/cli/snap-tests/exit-non-zero-on-cmd-not-exists/steps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"ignoredPlatforms": ["win32"],
23
"env": {
34
"VITE_DISABLE_AUTO_INSTALL": "1"
45
},

0 commit comments

Comments
 (0)