summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/publish/missing_license/__test__.jsonc3
-rw-r--r--tests/specs/publish/missing_license/mod.out6
2 files changed, 4 insertions, 5 deletions
diff --git a/tests/specs/publish/missing_license/__test__.jsonc b/tests/specs/publish/missing_license/__test__.jsonc
index 774d5a534..1b96278a0 100644
--- a/tests/specs/publish/missing_license/__test__.jsonc
+++ b/tests/specs/publish/missing_license/__test__.jsonc
@@ -1,4 +1,5 @@
{
"args": "publish --token 'sadfasdf'",
- "output": "mod.out"
+ "output": "mod.out",
+ "exitCode": 1
}
diff --git a/tests/specs/publish/missing_license/mod.out b/tests/specs/publish/missing_license/mod.out
index 721fefd9c..d3e183662 100644
--- a/tests/specs/publish/missing_license/mod.out
+++ b/tests/specs/publish/missing_license/mod.out
@@ -1,12 +1,10 @@
Check file:///[WILDLINE]/missing_license/mod.ts
Checking for slow types in the public API...
Check file:///[WILDLINE]/missing_license/mod.ts
-warning[missing-license]: missing license file
+error[missing-license]: missing license file
--> [WILDLINE]LICENSE
= hint: add a LICENSE file to the package and ensure it is not ignored from being published
docs: https://jsr.io/go/missing-license
-Publishing @scope/pkg@1.0.0 ...
-Successfully published @scope/pkg@1.0.0
-Visit http://127.0.0.1:4250/@scope/pkg@1.0.0 for details
+error: Found 1 problem