diff options
author | Gar <gar+gh@danger.computer> | 2021-04-13 20:07:46 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-04-14 19:35:29 +0300 |
commit | dfcd0c1e2331c1f4b6573466b50505772eddaf22 (patch) | |
tree | 9c0f72e605e26d279ad9f2b92d01ef000f550122 /tap-snapshots/test/lib/init.js.test.cjs | |
parent | f1e6743a6e8e32ddad6d1964eb05d17e6c50a456 (diff) |
tap@15.0.2
PR-URL: https://github.com/npm/cli/pull/3069
Credit: @isaacs
Close: #3069
Reviewed-by: @ruyadorno, @nlf
Diffstat (limited to 'tap-snapshots/test/lib/init.js.test.cjs')
-rw-r--r-- | tap-snapshots/test/lib/init.js.test.cjs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/init.js.test.cjs b/tap-snapshots/test/lib/init.js.test.cjs new file mode 100644 index 000000000..25015aab6 --- /dev/null +++ b/tap-snapshots/test/lib/init.js.test.cjs @@ -0,0 +1,19 @@ +/* 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/init.js TAP classic npm init no args > should print helper info 1`] = ` +This utility will walk you through creating a package.json file. +It only covers the most common items, and tries to guess sensible defaults. + +See \`npm help init\` for definitive documentation on these fields +and exactly what they do. + +Use \`npm install <pkg>\` afterwards to install a package and +save it as a dependency in the package.json file. + +Press ^C at any time to quit. +` |