summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/vendor/dynamic.ts3
-rw-r--r--tests/testdata/vendor/dynamic_non_analyzable.ts4
-rw-r--r--tests/testdata/vendor/dynamic_non_existent.ts11
-rw-r--r--tests/testdata/vendor/dynamic_non_existent.ts.out9
-rw-r--r--tests/testdata/vendor/logger.ts5
-rw-r--r--tests/testdata/vendor/mod.ts1
-rw-r--r--tests/testdata/vendor/npm_and_node_specifier.ts2
-rw-r--r--tests/testdata/vendor/query_reexport.ts1
8 files changed, 0 insertions, 36 deletions
diff --git a/tests/testdata/vendor/dynamic.ts b/tests/testdata/vendor/dynamic.ts
deleted file mode 100644
index e2cbb0e59..000000000
--- a/tests/testdata/vendor/dynamic.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-const { Logger } = await import("./logger.ts");
-
-export { Logger };
diff --git a/tests/testdata/vendor/dynamic_non_analyzable.ts b/tests/testdata/vendor/dynamic_non_analyzable.ts
deleted file mode 100644
index 1847939f6..000000000
--- a/tests/testdata/vendor/dynamic_non_analyzable.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-const value = (() => "./logger.ts")();
-const { Logger } = await import(value);
-
-export { Logger };
diff --git a/tests/testdata/vendor/dynamic_non_existent.ts b/tests/testdata/vendor/dynamic_non_existent.ts
deleted file mode 100644
index a48e2accb..000000000
--- a/tests/testdata/vendor/dynamic_non_existent.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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);
- }
-}
diff --git a/tests/testdata/vendor/dynamic_non_existent.ts.out b/tests/testdata/vendor/dynamic_non_existent.ts.out
deleted file mode 100644
index 1bbd01f7b..000000000
--- a/tests/testdata/vendor/dynamic_non_existent.ts.out
+++ /dev/null
@@ -1,9 +0,0 @@
-⚠️ Warning: `deno vendor` is deprecated and will be removed in Deno 2.0.
-Add `"vendor": true` to your `deno.json` or use the `--vendor` flag instead.
-Download http://localhost:4545/vendor/dynamic_non_existent.ts
-Download http://localhost:4545/vendor/non-existent.js
-Ignoring: Dynamic import not found "http://localhost:4545/vendor/non-existent.js".
- at http://localhost:4545/vendor/dynamic_non_existent.ts:4:16
-Vendored 1 module into vendor/ directory.
-
-To use vendored modules, specify the `--import-map vendor/import_map.json` flag when invoking Deno subcommands or add an `"importMap": "<path_to_vendored_import_map>"` entry to a deno.json file.
diff --git a/tests/testdata/vendor/logger.ts b/tests/testdata/vendor/logger.ts
deleted file mode 100644
index 97f603a48..000000000
--- a/tests/testdata/vendor/logger.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export class Logger {
- log(text: string) {
- console.log(text);
- }
-}
diff --git a/tests/testdata/vendor/mod.ts b/tests/testdata/vendor/mod.ts
deleted file mode 100644
index 8824d1b2a..000000000
--- a/tests/testdata/vendor/mod.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./logger.ts";
diff --git a/tests/testdata/vendor/npm_and_node_specifier.ts b/tests/testdata/vendor/npm_and_node_specifier.ts
deleted file mode 100644
index 61962e836..000000000
--- a/tests/testdata/vendor/npm_and_node_specifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { default as path } from "node:path";
-export { getValue, setValue } from "npm:@denotest/esm-basic";
diff --git a/tests/testdata/vendor/query_reexport.ts b/tests/testdata/vendor/query_reexport.ts
deleted file mode 100644
index 5dfafb532..000000000
--- a/tests/testdata/vendor/query_reexport.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./logger.ts?test";