summaryrefslogtreecommitdiff
path: root/tests/specs/init/lib/__test__.jsonc
diff options
context:
space:
mode:
authormuddlebee <anweshknayak@gmail.com>2024-07-10 06:43:34 +0530
committerGitHub <noreply@github.com>2024-07-09 21:13:34 -0400
commitff5163af05d95409cbb3d1a13f49a43fefd4849a (patch)
tree1b441f411224a0f45177beb77ba7822505cc8166 /tests/specs/init/lib/__test__.jsonc
parent9776a13e33bc371a67f0d44925e2bf04dca159f1 (diff)
feat(cli): `deno init --lib` (#22499)
Closes #22287 Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'tests/specs/init/lib/__test__.jsonc')
-rw-r--r--tests/specs/init/lib/__test__.jsonc16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/specs/init/lib/__test__.jsonc b/tests/specs/init/lib/__test__.jsonc
new file mode 100644
index 000000000..076930ae6
--- /dev/null
+++ b/tests/specs/init/lib/__test__.jsonc
@@ -0,0 +1,16 @@
+{
+ "tempDir": true,
+ "steps": [{
+ "args": "init --lib project",
+ "output": "init.out"
+ }, {
+ "cwd": "project",
+ "args": "test",
+ "output": "test.out"
+ }, {
+ "cwd": "project",
+ "args": "publish --dry-run",
+ "output": "dry_publish.out",
+ "exitCode": 1
+ }]
+}