diff options
Diffstat (limited to 'cli/tests/testdata/vendor/dynamic_non_existent.ts')
| -rw-r--r-- | cli/tests/testdata/vendor/dynamic_non_existent.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/vendor/dynamic_non_existent.ts b/cli/tests/testdata/vendor/dynamic_non_existent.ts new file mode 100644 index 000000000..a48e2accb --- /dev/null +++ b/cli/tests/testdata/vendor/dynamic_non_existent.ts @@ -0,0 +1,11 @@ +// this should still vendor +// deno-lint-ignore no-constant-condition +if (false) { + await import("./non-existent.js"); +} + +export class Logger { + log(text: string) { + console.log(text); + } +} |
