Debian Codegraph @

tap-snapshots/test/get-all-conditional-values.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/get-all-conditional-values.ts > TAP > valid values > [{"import":{"node":"x"}},{"node":{"import":"y"}}] > must match snapshot 1`] = `
9 Array [
10 Array [
11 ".",
12 Set {
13 "import",
14 "node",
15 },
16 "x",
17 ],
18 ]
19 `
20
21 exports[`test/get-all-conditional-values.ts > TAP > valid values > {"./x":{"import":"./x.js"},"./y":"./y.js"} > must match snapshot 1`] = `
22 Array [
23 Array [
24 "./x",
25 Set {
26 "import",
27 },
28 "./x.js",
29 ],
30 Array [
31 "./y",
32 Set {},
33 "./y.js",
34 ],
35 ]
36 `
37
38 exports[`test/get-all-conditional-values.ts > TAP > valid values > {"import":{"node":"x"},"node":{"import":"y"}} > must match snapshot 1`] = `
39 Array [
40 Array [
41 ".",
42 Set {
43 "import",
44 "node",
45 },
46 "x",
47 ],
48 ]
49 `
50
51 exports[`test/get-all-conditional-values.ts > TAP > valid values > {"import":{"node":[{"z":"z"},"x"]},"node":{"import":"y"}} > must match snapshot 1`] = `
52 Array [
53 Array [
54 ".",
55 Set {
56 "import",
57 "node",
58 "z",
59 },
60 "z",
61 ],
62 Array [
63 ".",
64 Set {
65 "import",
66 "node",
67 },
68 "x",
69 ],
70 ]
71 `
72
73 exports[`test/get-all-conditional-values.ts > TAP > valid values > {"import":{"node":{"default":"x"}},"node":{"import":"y"}} > must match snapshot 1`] = `
74 Array [
75 Array [
76 ".",
77 Set {
78 "import",
79 "node",
80 },
81 "x",
82 ],
83 ]
84 `
85
86 exports[`test/get-all-conditional-values.ts > TAP > valid values > {"import":null,"node":[{"require":"x"},{"import":"y"},"z"]} > must match snapshot 1`] = `
87 Array [
88 Array [
89 ".",
90 Set {
91 "import",
92 },
93 null,
94 ],
95 Array [
96 ".",
97 Set {
98 "node",
99 "require",
100 },
101 "x",
102 ],
103 Array [
104 ".",
105 Set {
106 "node",
107 },
108 "z",
109 ],
110 ]
111 `