• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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'
8exports[`test/lib/commands/diff.js TAP no args in a project dir > must match snapshot 1`] = `
9diff --git a/a.js b/a.js
10index v0.1.0..v1.0.0 100644
11--- a/a.js
12+++ b/a.js
13@@ -1,1 +1,1 @@
14-const a = "a@0.1.0"
15+const a = "a@1.0.0"
16diff --git a/b.js b/b.js
17index v0.1.0..v1.0.0 100644
18--- a/b.js
19+++ b/b.js
20@@ -1,1 +1,1 @@
21-const b = "b@0.1.0"
22+const b = "b@1.0.0"
23diff --git a/index.js b/index.js
24index v0.1.0..v1.0.0 100644
25--- a/index.js
26+++ b/index.js
27@@ -1,1 +1,1 @@
28-const version = "0.1.0"
29+const version = "1.0.0"
30diff --git a/package.json b/package.json
31index v0.1.0..v1.0.0 100644
32--- a/package.json
33+++ b/package.json
34@@ -1,4 +1,4 @@
35 {
36   "name": "@npmcli/foo",
37-  "version": "0.1.0"
38+  "version": "1.0.0"
39 }
40`
41
42exports[`test/lib/commands/diff.js TAP single arg version, filtering by files > must match snapshot 1`] = `
43diff --git a/a.js b/a.js
44index v0.1.0..v1.0.0 100644
45--- a/a.js
46+++ b/a.js
47@@ -1,1 +1,1 @@
48-const a = "a@0.1.0"
49+const a = "a@1.0.0"
50diff --git a/b.js b/b.js
51index v0.1.0..v1.0.0 100644
52--- a/b.js
53+++ b/b.js
54@@ -1,1 +1,1 @@
55-const b = "b@0.1.0"
56+const b = "b@1.0.0"
57`
58
59exports[`test/lib/commands/diff.js TAP various options using --name-only option > must match snapshot 1`] = `
60index.js
61package.json
62`
63
64exports[`test/lib/commands/diff.js TAP various options using diff option > must match snapshot 1`] = `
65diff --git a/index.js b/index.js
66index v2.0.0..v3.0.0 100644
67--- a/index.js
68+++ b/index.js
69@@ -18,7 +18,7 @@
70 17
71 18
72 19
73-202.0.0
74+203.0.0
75 21
76 22
77 23
78diff --git a/package.json b/package.json
79index v2.0.0..v3.0.0 100644
80--- a/package.json
81+++ b/package.json
82@@ -1,4 +1,4 @@
83 {
84   "name": "bar",
85-  "version": "2.0.0"
86+  "version": "3.0.0"
87 }
88`
89