Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed npx test.
  • Loading branch information
dragonwize authored and stasadev committed Sep 12, 2025
commit 556555ec5f6b67ebc9c28aee6f9c2a433314e6dd
2 changes: 1 addition & 1 deletion cmd/ddev/cmd/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func TestNpmNpxYarnCommands(t *testing.T) {
out, err := exec.RunHostCommand(DdevBin, "npm", "install", "--no-audit")
assert.NoError(err)
assert.Contains(out, "up to date in", "d='%s', npm install has wrong output; output='%s'", d, out)
out, err := exec.RunHostCommand(DdevBin, "npx", "-c", "'echo hello'")
out, err := exec.RunHostCommand(DdevBin, "npx", "-c", "echo hello")
assert.NoError(err)
assert.Contains(out, "hello", "d='%s', npx -c 'echo hello' has wrong output; output='%s'", d, out)
out, err = exec.RunHostCommand(DdevBin, "yarn", "install")
Expand Down