Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-05-14 17:00:06 +0300
committerisaacs <i@izs.me>2021-05-20 20:24:53 +0300
commitfde35466915b5ac5958c827fa7e919e1f186db51 (patch)
tree7a1dd32079e09059ad3f9f1d2c518bdacd2bdcb0 /tap-snapshots/test/lib/unpublish.js.test.cjs
parentfaa12ccc26b5f0790f79b2589780e536f4284491 (diff)
feat(unpublish): add workspace/dry-run support
PR-URL: https://github.com/npm/cli/pull/3251 Credit: @wraithgar Close: #3251 Reviewed-by: @ruyadorno, @isaacs
Diffstat (limited to 'tap-snapshots/test/lib/unpublish.js.test.cjs')
-rw-r--r--tap-snapshots/test/lib/unpublish.js.test.cjs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/unpublish.js.test.cjs b/tap-snapshots/test/lib/unpublish.js.test.cjs
new file mode 100644
index 000000000..5936bec6c
--- /dev/null
+++ b/tap-snapshots/test/lib/unpublish.js.test.cjs
@@ -0,0 +1,14 @@
+/* IMPORTANT
+ * This snapshot file is auto-generated, but designed for humans.
+ * It should be checked into source control and tracked carefully.
+ * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
+ * Make sure to inspect the output below. Do not ignore changes!
+ */
+'use strict'
+exports[`test/lib/unpublish.js TAP workspaces all workspaces --force > should output all workspaces 1`] = `
+- workspace-a- workspace-b- workspace-n
+`
+
+exports[`test/lib/unpublish.js TAP workspaces one workspace --force > should output one workspaces 1`] = `
+- workspace-a
+`