Debian Codegraph @

tap-snapshots/test/prevent-verbatim-module-syntax.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/prevent-verbatim-module-syntax.ts > TAP > is set, many worries > must match snapshot 1`] = `
9 verbatimModuleSyntax detected
10 verbatimModuleSyntax is incompatible with multi-dialect builds. Either remove
11 this field from tsconfig.json, or set a single dialect in the "dialects"
12 field in package.json, for example:
13
14 {
15 "tshy": {
16 "dialects": ["esm"]
17 }
18 }
19
20 or
21
22 {
23 "tshy": {
24 "dialects": ["commonjs"]
25 }
26 }
27
28 `