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:
authorRuy Adorno <ruyadorno@hotmail.com>2020-11-25 23:39:58 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-11-27 19:07:02 +0300
commit67cef80c0a0a0e6d45f37a17f506f57397029e91 (patch)
tree62944f47dd0245020d1cf88bfb08856874caf19b /tap-snapshots
parent997cbdb400bcd22e457e8a06b69a7be697cfd66d (diff)
test: add tests to lib/stars.js
PR-URL: https://github.com/npm/cli/pull/2240 Credit: @ruyadorno Close: #2240 Reviewed-by: @darcyclarke
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-stars.js-TAP.test.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-stars.js-TAP.test.js b/tap-snapshots/test-lib-stars.js-TAP.test.js
new file mode 100644
index 000000000..ac628148f
--- /dev/null
+++ b/tap-snapshots/test-lib-stars.js-TAP.test.js
@@ -0,0 +1,15 @@
+/* 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/stars.js TAP no args > should output a list of starred packages 1`] = `
+
+@npmcli/arborist
+@npmcli/map-workspaces
+libnpmfund
+libnpmpublish
+ipt
+`