Debian Codegraph @

workspaces/libnpmversion/tap-snapshots/test/index.js.test.cjs

raw symbols SCIP
1 /* IMPORTANT
2 * This snapshot file is auto-generated, but designed for humans.
3 * It should be checked into source control and tracked carefully.
4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5 * Make sure to inspect the output below. Do not ignore changes!
6 */
7 'use strict'
8 exports[`test/index.js TAP all the defaults > must match snapshot 1`] = `
9 Array [
10 "from-git",
11 Object {
12 "allowSameVersion": false,
13 "commitHooks": true,
14 "cwd": "{CWD}",
15 "force": false,
16 "gitTagVersion": true,
17 "ignoreScripts": false,
18 "message": "v%s",
19 "path": "{CWD}",
20 "pkg": Object {
21 "name": "package from rj",
22 },
23 "preid": null,
24 "scriptShell": undefined,
25 "signGitCommit": false,
26 "signGitTag": false,
27 "tagVersionPrefix": "v",
28 },
29 ]
30 `
31
32 exports[`test/index.js TAP set the package ahead of time > must match snapshot 1`] = `
33 Array [
34 "major",
35 Object {
36 "allowSameVersion": true,
37 "commitHooks": false,
38 "cwd": "/some/path",
39 "force": true,
40 "gitTagVersion": false,
41 "ignoreScripts": true,
42 "message": "hello, i have a message for you",
43 "path": "/some/path",
44 "pkg": Object {
45 "name": "package set in options",
46 },
47 "preid": "rc",
48 "scriptShell": "/bin/bash",
49 "signGitCommit": true,
50 "signGitTag": true,
51 "tagVersionPrefix": "=",
52 },
53 ]
54 `