Skip to content

Commit 5b7cf9a

Browse files
branchseerclaude
andcommitted
Disable tests with echo scripts on Windows
Add "ignoredPlatforms": ["win32"] to snap tests that have echo scripts in their package.json. The echo command behaves differently on Windows (different syntax and behavior), causing these tests to fail or produce incorrect results. Modified 7 test cases: - associate-existing-cache - cache-miss-command-change - exit-code - individual-cache-for-adt-args - plain-terminal-ui - task-no-trailing-newline - test-nested-tasks 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f37eb64 commit 5b7cf9a

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

packages/cli/snap-tests/associate-existing-cache/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-miss-command-change/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-code/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/individual-cache-for-adt-args/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/plain-terminal-ui/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_PLUS_CLI_TEST": "0",
45
"VITE_DISABLE_AUTO_INSTALL": "1"

packages/cli/snap-tests/task-no-trailing-newline/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/test-nested-tasks/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)