| 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/valid-imports.ts > TAP > {"pkg":{"imports":"asdf"}} > failure message 1`] = ` |
| 9 |
invalid imports object, must be Record<string, Import>, got: "asdf" |
| 10 |
` |
| 11 |
|
| 12 |
exports[`test/valid-imports.ts > TAP > {"pkg":{"imports":[]}} > failure message 1`] = ` |
| 13 |
invalid imports object, must be Record<string, Import>, got: [] |
| 14 |
` |
| 15 |
|
| 16 |
exports[`test/valid-imports.ts > TAP > {"pkg":{"imports":{"#":"y"}}} > failure message 1`] = ` |
| 17 |
invalid imports module specifier: # |
| 18 |
` |
| 19 |
|
| 20 |
exports[`test/valid-imports.ts > TAP > {"pkg":{"imports":{"#x":["./src/x"]}}} > failure message 1`] = ` |
| 21 |
unbuilt package.imports #x must not be in ./src, and imports in ./src must be string values. got: ["./src/x"] |
| 22 |
` |
| 23 |
|
| 24 |
exports[`test/valid-imports.ts > TAP > {"pkg":{"imports":{"x":"y"}}} > failure message 1`] = ` |
| 25 |
invalid imports module specifier: x |
| 26 |
` |