summaryrefslogtreecommitdiff
path: root/tests/integration/publish_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-21 08:35:25 -0500
committerGitHub <noreply@github.com>2024-02-21 08:35:25 -0500
commit9166d8a4e9b0f611b1e06c9e339b44f7c450d72e (patch)
tree1c4efed34b9c5bebc1f42fdaa8ad28dcca30896a /tests/integration/publish_tests.rs
parent061ee9d38cdf8ff0ade2373c1e075f841c534c47 (diff)
feat(publish): type check on publish (#22506)
Supersedes #22501 and also fixes that issue.
Diffstat (limited to 'tests/integration/publish_tests.rs')
-rw-r--r--tests/integration/publish_tests.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/integration/publish_tests.rs b/tests/integration/publish_tests.rs
index 48e62e905..61cb40fba 100644
--- a/tests/integration/publish_tests.rs
+++ b/tests/integration/publish_tests.rs
@@ -155,6 +155,15 @@ itest!(successful {
http_server: true,
});
+itest!(no_check {
+ args: "publish --token 'sadfasdf' --no-check",
+ // still type checks the slow types output though
+ output: "publish/successful_no_check.out",
+ cwd: Some("publish/successful"),
+ envs: env_vars_for_jsr_tests(),
+ http_server: true,
+});
+
itest!(node_specifier {
args: "publish --token 'sadfasdf'",
output: "publish/node_specifier.out",