diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-07 11:30:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 17:30:30 +0100 |
commit | 594d8397ad46a90389bec9a76afde1bc7f1fa35b (patch) | |
tree | 9238e775513197042429fd9340cdc9bf792e7cd7 /tests/integration/publish_tests.rs | |
parent | 87a08fc3b2d0ed1e5a197628fa7091cb656c9058 (diff) |
fix(publish): properly display graph validation errors (#22775)
The graph validation errors were displaying cryptically during publish.
This fixes that.
Diffstat (limited to 'tests/integration/publish_tests.rs')
-rw-r--r-- | tests/integration/publish_tests.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/integration/publish_tests.rs b/tests/integration/publish_tests.rs index ce93ccda3..cb1072bc0 100644 --- a/tests/integration/publish_tests.rs +++ b/tests/integration/publish_tests.rs @@ -275,6 +275,15 @@ itest!(sloppy_imports { http_server: true, }); +itest!(sloppy_imports_not_enabled { + args: "publish --token 'sadfasdf' --dry-run", + output: "publish/sloppy_imports_not_enabled.out", + cwd: Some("publish/sloppy_imports"), + envs: env_vars_for_jsr_tests(), + http_server: true, + exit_code: 1, +}); + itest!(sloppy_imports_no_warnings { args: "publish --token 'sadfasdf' --dry-run --unstable-sloppy-imports", output: "publish/sloppy_imports_no_warnings.out", |