node/deps/npm/tap-snapshots/test/lib/commands/init.js.test.cjs

25 lines
886 B
JavaScript

/* 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/commands/init.js TAP displays output > displays 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.
`
exports[`test/lib/commands/init.js TAP workspaces no args -- yes > should print helper info 1`] = `
added 1 package in {TIME}
`