1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tests/testdata/task
Nathan Whitaker 466cc68afe
chore: Fix failing task_npx_non_existent test (#23945)
Currently `task::task_npx_non_existent` is consistently failing in CI
([example](https://github.com/denoland/deno/actions/runs/9192958846/job/25282900321#step:43:2772))
due to the output changing slightly

```
-- OUTPUT START --
Task non-existent npx this-command-should-not-exist-for-you
npm ERR! code E404
npm ERR! 404 Not Found - GET http://localhost:4260/this-command-should-not-exist-for-you
npm ERR! 404 
npm ERR! 404  'this-command-should-not-exist-for-you@*' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /Users/runner/.npm/_logs/2024-05-22T17_58_42_473Z-debug-0.log

-- OUTPUT END --
-- EXPECTED START --
Task non-existent npx this-command-should-not-exist-for-you
npm error code E404
npm error 404 Not Found - GET http://localhost:4260/this-command-should-not-exist-for-you
[WILDCARD]

-- EXPECTED END --
```

I'm not sure what changed in CI to cause this (and I can't repro it
locally, even matching the version of npm and node on the github
runners), but fix it with more lenient expected output for that test.
2024-05-22 18:57:57 +00:00
..
both chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
deno_json chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
deno_json_pre_post chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
npx chore: Fix failing task_npx_non_existent test (#23945) 2024-05-22 18:57:57 +00:00
package_json chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
package_json_node_modules_dir_false chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
package_json_post chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
package_json_post_only chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
package_json_pre chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
package_json_pre_only chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
package_json_pre_post chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00