Debian Codegraph @

tap-snapshots/test/build-esm.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/build-esm.ts > TAP > basic esm build > must match snapshot 1`] = `
9 Array [
10 "blah.d.ts",
11 "blah.d.ts.map",
12 "blah.js",
13 "blah.js.map",
14 "index.d.ts",
15 "index.d.ts.map",
16 "index.js",
17 "index.js.map",
18 "package.json",
19 ]
20 `
21
22 exports[`test/build-esm.ts > TAP > basic esm build > must match snapshot 2`] = `
23 Array [
24 Array [
25 "{NODE}",
26 Array [
27 "{CWD}/node_modules/typescript/bin/tsc",
28 "-p",
29 ".tshy/esm.json",
30 ],
31 Object {
32 "stdio": "inherit",
33 },
34 ],
35 Array [
36 "{NODE}",
37 Array [
38 "{CWD}/node_modules/typescript/bin/tsc",
39 "-p",
40 ".tshy/blah.json",
41 ],
42 Object {
43 "stdio": "inherit",
44 },
45 ],
46 Array [
47 "{NODE}",
48 Array [
49 "{CWD}/node_modules/typescript/bin/tsc",
50 "-p",
51 ".tshy/no-overrides.json",
52 ],
53 Object {
54 "stdio": "inherit",
55 },
56 ],
57 ]
58 `
59
60 exports[`test/build-esm.ts > TAP > build failure > must match snapshot 1`] = `
61 Array [
62 "blah.d.ts",
63 "blah.d.ts.map",
64 "blah.js",
65 "blah.js.map",
66 "index.d.ts",
67 "index.d.ts.map",
68 "index.js",
69 "index.js.map",
70 ]
71 `
72
73 exports[`test/build-esm.ts > TAP > build failure > must match snapshot 2`] = `
74 Array [
75 Array [
76 "{NODE}",
77 Array [
78 "{CWD}/node_modules/typescript/bin/tsc",
79 "-p",
80 ".tshy/esm.json",
81 ],
82 Object {
83 "stdio": "inherit",
84 },
85 ],
86 Array [
87 "{NODE}",
88 Array [
89 "{CWD}/node_modules/typescript/bin/tsc",
90 "-p",
91 ".tshy/blah.json",
92 ],
93 Object {
94 "stdio": "inherit",
95 },
96 ],
97 Array [
98 "{NODE}",
99 Array [
100 "{CWD}/node_modules/typescript/bin/tsc",
101 "-p",
102 ".tshy/no-overrides.json",
103 ],
104 Object {
105 "stdio": "inherit",
106 },
107 ],
108 Array [
109 "{NODE}",
110 Array [
111 "{CWD}/node_modules/typescript/bin/tsc",
112 "-p",
113 ".tshy/esm.json",
114 ],
115 Object {
116 "stdio": "inherit",
117 },
118 ],
119 ]
120 `