Debian Codegraph @

tap-snapshots/test/resolve-all-sync.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/resolve-all-sync.ts > TAP > if exports is only one path, return "." only > must match snapshot 1`] = `
9 {
10 ".": "file://{CWD}/test/fixtures/resolve-all/default.js"
11 }
12 `
13
14 exports[`test/resolve-all-sync.ts > TAP > if exports is only one path, return "." only > must match snapshot 2`] = `
15 {
16 ".": "file://{CWD}/test/fixtures/resolve-all/default.js"
17 }
18 `
19
20 exports[`test/resolve-all-sync.ts > TAP > resolveAllExports > must match snapshot 1`] = `
21 {
22 ".": "file://{CWD}/test/fixtures/resolve-all/default.js",
23 "./blah/*": "file://{CWD}/test/fixtures/resolve-all/default.js",
24 "./deep/a/b/c/d/y/x.js": "file://{CWD}/test/fixtures/resolve-all/deep/a/b/c/d/y.js",
25 "./deep/a/b/c/d/y/y.js": "file://{CWD}/test/fixtures/resolve-all/deep/a/b/c/d/y.js",
26 "./deep/a/b/c/d/z.js": "file://{CWD}/test/fixtures/resolve-all/deep/a/b/c/d/y.js"
27 }
28 `
29
30 exports[`test/resolve-all-sync.ts > TAP > resolveAllLocalImports > must match snapshot 1`] = `
31 {
32 "#module": "node:fs",
33 "#g": "file://{CWD}/test/fixtures/resolve-all/node_modules/glob/dist/mjs/index.js",
34 "#y/package.json": "file://{CWD}/node_modules/yaml/package.json",
35 "#y/util": "file://{CWD}/node_modules/yaml/dist/util.js",
36 "#u/ti/l": "file://{CWD}/node_modules/yaml/dist/util.js",
37 "#localpath": "file://{CWD}/test/fixtures/resolve-all/default.js",
38 "#localpath/a/b/c/d/y": "file://{CWD}/test/fixtures/resolve-all/deep/a/b/c/d/y.js",
39 "#localname": "file://{CWD}/test/fixtures/resolve-all/default.js"
40 }
41 `