Debian Codegraph @

tap-snapshots/test/self-dep.ts.test.cjs

raw
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/self-dep.ts > TAP > link, but no dirs made > mkdirps 1`] = `
9 Array [
10 Array [
11 "{CWD}/some/path/node_modules",
12 ],
13 ]
14 `
15
16 exports[`test/self-dep.ts > TAP > link, but no dirs made > rimrafs 1`] = `
17 Array [
18 Array [
19 "{CWD}/some/path/node_modules/name",
20 ],
21 ]
22 `
23
24 exports[`test/self-dep.ts > TAP > link, but no dirs made > symlinks 1`] = `
25 Array [
26 Array [
27 "../../..",
28 "{CWD}/some/path/node_modules/name",
29 ],
30 ]
31 `
32
33 exports[`test/self-dep.ts > TAP > made dir, clean up > mkdirps 1`] = `
34 Array [
35 Array [
36 "{CWD}/some/path/node_modules",
37 ],
38 ]
39 `
40
41 exports[`test/self-dep.ts > TAP > made dir, clean up > rimrafs 1`] = `
42 Array [
43 Array [
44 "{CWD}/some/path/node_modules/name",
45 ],
46 Array [
47 "some",
48 ],
49 ]
50 `
51
52 exports[`test/self-dep.ts > TAP > made dir, clean up > symlinks 1`] = `
53 Array [
54 Array [
55 "../../..",
56 "{CWD}/some/path/node_modules/name",
57 ],
58 ]
59 `
60
61 exports[`test/self-dep.ts > TAP > throw both times, but accept if best-effort > mkdirps 1`] = `
62 Array [
63 Array [
64 "{CWD}/some/path/node_modules",
65 ],
66 ]
67 `
68
69 exports[`test/self-dep.ts > TAP > throw both times, but accept if best-effort > rimrafs 1`] = `
70 Array [
71 Array [
72 "{CWD}/some/path/node_modules/name",
73 ],
74 ]
75 `
76
77 exports[`test/self-dep.ts > TAP > throw both times, but accept if best-effort > symlinks 1`] = `
78 Array [
79 Array [
80 "../../..",
81 "{CWD}/some/path/node_modules/name",
82 ],
83 Array [
84 "../../..",
85 "{CWD}/some/path/node_modules/name",
86 ],
87 ]
88 `
89
90 exports[`test/self-dep.ts > TAP > throw both times, but self-link is required > mkdirps 1`] = `
91 Array [
92 Array [
93 "{CWD}/some/path/node_modules",
94 ],
95 ]
96 `
97
98 exports[`test/self-dep.ts > TAP > throw both times, but self-link is required > rimrafs 1`] = `
99 Array [
100 Array [
101 "{CWD}/some/path/node_modules/name",
102 ],
103 ]
104 `
105
106 exports[`test/self-dep.ts > TAP > throw both times, but self-link is required > symlinks 1`] = `
107 Array [
108 Array [
109 "../../..",
110 "{CWD}/some/path/node_modules/name",
111 ],
112 Array [
113 "../../..",
114 "{CWD}/some/path/node_modules/name",
115 ],
116 ]
117 `
118
119 exports[`test/self-dep.ts > TAP > try one more time if it fails > mkdirps 1`] = `
120 Array [
121 Array [
122 "{CWD}/some/path/node_modules",
123 ],
124 ]
125 `
126
127 exports[`test/self-dep.ts > TAP > try one more time if it fails > rimrafs 1`] = `
128 Array [
129 Array [
130 "{CWD}/some/path/node_modules/name",
131 ],
132 ]
133 `
134
135 exports[`test/self-dep.ts > TAP > try one more time if it fails > symlinks 1`] = `
136 Array [
137 Array [
138 "../../..",
139 "{CWD}/some/path/node_modules/name",
140 ],
141 Array [
142 "../../..",
143 "{CWD}/some/path/node_modules/name",
144 ],
145 ]
146 `