diff --git a/packages/cli/snap-tests-global/command-staged-with-config/snap.txt b/packages/cli/snap-tests-global/command-staged-with-config/snap.txt index 9ae94f9a71..7fcf705678 100644 --- a/packages/cli/snap-tests-global/command-staged-with-config/snap.txt +++ b/packages/cli/snap-tests-global/command-staged-with-config/snap.txt @@ -21,5 +21,4 @@ > git add -A && git commit -m 'second' > printf 'eval("code");\n' > src/fail.js && git add src/fail.js -[1]> vp staged # should fail when staged .js file has lint errors -[STARTED] Backing up original state... +[1]> vp staged > /dev/null 2>&1 # should fail when staged .js file has lint errors \ No newline at end of file diff --git a/packages/cli/snap-tests-global/command-staged-with-config/steps.json b/packages/cli/snap-tests-global/command-staged-with-config/steps.json index 62a7f77aaf..81af39b93b 100644 --- a/packages/cli/snap-tests-global/command-staged-with-config/steps.json +++ b/packages/cli/snap-tests-global/command-staged-with-config/steps.json @@ -1,4 +1,5 @@ { + "ignoredPlatforms": ["win32"], "commands": [ { "command": "git init", "ignoreOutput": true }, { "command": "git add -A && git commit -m 'init'", "ignoreOutput": true }, @@ -12,6 +13,9 @@ "command": "printf 'eval(\"code\");\\n' > src/fail.js && git add src/fail.js", "ignoreOutput": true }, - "vp staged # should fail when staged .js file has lint errors" + { + "command": "vp staged > /dev/null 2>&1 # should fail when staged .js file has lint errors", + "ignoreOutput": true + } ] }