summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/subdir
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-02-10 13:22:13 -0700
committerGitHub <noreply@github.com>2024-02-10 20:22:13 +0000
commitf5e46c9bf2f50d66a953fa133161fc829cecff06 (patch)
tree8faf2f5831c1c7b11d842cd9908d141082c869a5 /cli/tests/testdata/subdir
parentd2477f780630a812bfd65e3987b70c0d309385bb (diff)
chore: move cli/tests/ -> tests/ (#22369)
This looks like a massive PR, but it's only a move from cli/tests -> tests, and updates of relative paths for files. This is the first step towards aggregate all of the integration test files under tests/, which will lead to a set of integration tests that can run without the CLI binary being built. While we could leave these tests under `cli`, it would require us to keep a more complex directory structure for the various test runners. In addition, we have a lot of complexity to ignore various test files in the `cli` project itself (cargo publish exclusion rules, autotests = false, etc). And finally, the `tests/` folder will eventually house the `test_ffi`, `test_napi` and other testing code, reducing the size of the root repo directory. For easier review, the extremely large and noisy "move" is in the first commit (with no changes -- just a move), while the remainder of the changes to actual files is in the second commit.
Diffstat (limited to 'cli/tests/testdata/subdir')
-rw-r--r--cli/tests/testdata/subdir/CAPITALS/main.js3
-rw-r--r--cli/tests/testdata/subdir/amd_like.js3
-rw-r--r--cli/tests/testdata/subdir/auto_print_hello.ts2
-rw-r--r--cli/tests/testdata/subdir/circular1.ts7
-rw-r--r--cli/tests/testdata/subdir/circular2.ts7
-rw-r--r--cli/tests/testdata/subdir/comment.ts4
-rw-r--r--cli/tests/testdata/subdir/config.json6
-rw-r--r--cli/tests/testdata/subdir/emittable.d.ts1
-rw-r--r--cli/tests/testdata/subdir/evil_remote_import.js4
-rw-r--r--cli/tests/testdata/subdir/export_types.ts11
-rw-r--r--cli/tests/testdata/subdir/foo_types.d.ts3
-rw-r--r--cli/tests/testdata/subdir/form_urlencoded.txt1
-rw-r--r--cli/tests/testdata/subdir/import.mts4
-rw-r--r--cli/tests/testdata/subdir/indirect_import_error.js1
-rw-r--r--cli/tests/testdata/subdir/indirect_throws.js1
-rw-r--r--cli/tests/testdata/subdir/json_1.json5
-rw-r--r--cli/tests/testdata/subdir/json_2.json1
-rw-r--r--cli/tests/testdata/subdir/json_3.json1
-rw-r--r--cli/tests/testdata/subdir/jsx_import_source_no_pragma.tsx7
-rw-r--r--cli/tests/testdata/subdir/main.ts3
-rw-r--r--cli/tests/testdata/subdir/mismatch_ext.ts1
-rw-r--r--cli/tests/testdata/subdir/mod.mjs1
-rw-r--r--cli/tests/testdata/subdir/mod1.ts17
-rw-r--r--cli/tests/testdata/subdir/mod2.ts1
-rw-r--r--cli/tests/testdata/subdir/mod3.js1
-rw-r--r--cli/tests/testdata/subdir/mod4.js1
-rw-r--r--cli/tests/testdata/subdir/mod5.mjs1
-rw-r--r--cli/tests/testdata/subdir/mod6.js1
-rw-r--r--cli/tests/testdata/subdir/mod7.js3
-rw-r--r--cli/tests/testdata/subdir/mod8.js3
-rw-r--r--cli/tests/testdata/subdir/more_decorators.ts18
-rw-r--r--cli/tests/testdata/subdir/mt_application_ecmascript.j2.js1
-rw-r--r--cli/tests/testdata/subdir/mt_application_ecmascript_jsx.j2.jsx5
-rw-r--r--cli/tests/testdata/subdir/mt_application_x_javascript.j4.js1
-rw-r--r--cli/tests/testdata/subdir/mt_application_x_javascript_jsx.j4.jsx5
-rw-r--r--cli/tests/testdata/subdir/mt_application_x_typescript.t4.ts1
-rw-r--r--cli/tests/testdata/subdir/mt_application_x_typescript_tsx.t4.tsx5
-rw-r--r--cli/tests/testdata/subdir/mt_javascript.js1
-rw-r--r--cli/tests/testdata/subdir/mt_javascript_jsx.jsx5
-rw-r--r--cli/tests/testdata/subdir/mt_text_ecmascript.j3.js1
-rw-r--r--cli/tests/testdata/subdir/mt_text_ecmascript_jsx.j3.jsx5
-rw-r--r--cli/tests/testdata/subdir/mt_text_javascript.j1.js1
-rw-r--r--cli/tests/testdata/subdir/mt_text_javascript_jsx.j1.jsx5
-rw-r--r--cli/tests/testdata/subdir/mt_text_typescript.t1.ts1
-rw-r--r--cli/tests/testdata/subdir/mt_text_typescript_tsx.t1.tsx5
-rw-r--r--cli/tests/testdata/subdir/mt_video_mp2t.t3.ts1
-rw-r--r--cli/tests/testdata/subdir/mt_video_mp2t_tsx.t3.tsx5
-rw-r--r--cli/tests/testdata/subdir/mt_video_vdn.t2.ts1
-rw-r--r--cli/tests/testdata/subdir/mt_video_vdn_tsx.t2.tsx5
-rw-r--r--cli/tests/testdata/subdir/no_ext1
-rw-r--r--cli/tests/testdata/subdir/no_js_ext3
-rw-r--r--cli/tests/testdata/subdir/polyfill.ts8
-rw-r--r--cli/tests/testdata/subdir/print_hello.ts3
-rw-r--r--cli/tests/testdata/subdir/redirects/a.ts9
-rw-r--r--cli/tests/testdata/subdir/redirects/b.ts5
-rw-r--r--cli/tests/testdata/subdir/redirects/redirect1.js1
-rw-r--r--cli/tests/testdata/subdir/redirects/redirect1.ts1
-rw-r--r--cli/tests/testdata/subdir/redirects/redirect2.js1
-rw-r--r--cli/tests/testdata/subdir/redirects/redirect3.js2
-rw-r--r--cli/tests/testdata/subdir/redirects/redirect4.ts2
-rw-r--r--cli/tests/testdata/subdir/shebang_file.js5
-rw-r--r--cli/tests/testdata/subdir/single_module.ts1
-rw-r--r--cli/tests/testdata/subdir/subdir2/dynamic_import.ts4
-rw-r--r--cli/tests/testdata/subdir/subdir2/mod2.ts9
-rw-r--r--cli/tests/testdata/subdir/test_worker_basic.js14
-rw-r--r--cli/tests/testdata/subdir/throws.js6
-rw-r--r--cli/tests/testdata/subdir/tla.ts1
-rw-r--r--cli/tests/testdata/subdir/type_and_code.ts7
-rw-r--r--cli/tests/testdata/subdir/type_error.ts1
-rw-r--r--cli/tests/testdata/subdir/type_reference.d.ts1
-rw-r--r--cli/tests/testdata/subdir/type_reference.js3
-rw-r--r--cli/tests/testdata/subdir/types.d.mts1
-rw-r--r--cli/tests/testdata/subdir/unknown_ext.deno1
73 files changed, 0 insertions, 267 deletions
diff --git a/cli/tests/testdata/subdir/CAPITALS/main.js b/cli/tests/testdata/subdir/CAPITALS/main.js
deleted file mode 100644
index 768d1391f..000000000
--- a/cli/tests/testdata/subdir/CAPITALS/main.js
+++ /dev/null
@@ -1,3 +0,0 @@
-export function returnsUppperHi() {
- return "HI";
-}
diff --git a/cli/tests/testdata/subdir/amd_like.js b/cli/tests/testdata/subdir/amd_like.js
deleted file mode 100644
index f27e505e4..000000000
--- a/cli/tests/testdata/subdir/amd_like.js
+++ /dev/null
@@ -1,3 +0,0 @@
-// looks like an AMD module, but isn't
-const define = () => {};
-define(["fake_module"], () => {});
diff --git a/cli/tests/testdata/subdir/auto_print_hello.ts b/cli/tests/testdata/subdir/auto_print_hello.ts
deleted file mode 100644
index 5efa72e03..000000000
--- a/cli/tests/testdata/subdir/auto_print_hello.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-console.log("hello!");
-export default {};
diff --git a/cli/tests/testdata/subdir/circular1.ts b/cli/tests/testdata/subdir/circular1.ts
deleted file mode 100644
index 06fdb3373..000000000
--- a/cli/tests/testdata/subdir/circular1.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import * as circular2 from "./circular2.ts";
-
-export function f1() {
- console.log("f1");
-}
-
-circular2.f2();
diff --git a/cli/tests/testdata/subdir/circular2.ts b/cli/tests/testdata/subdir/circular2.ts
deleted file mode 100644
index 0864b7adf..000000000
--- a/cli/tests/testdata/subdir/circular2.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import * as circular1 from "./circular1.ts";
-
-export function f2() {
- console.log("f2");
-}
-
-circular1.f1();
diff --git a/cli/tests/testdata/subdir/comment.ts b/cli/tests/testdata/subdir/comment.ts
deleted file mode 100644
index ea7e630c0..000000000
--- a/cli/tests/testdata/subdir/comment.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// This is a comment.
-export function comment(): string {
- return "comment";
-}
diff --git a/cli/tests/testdata/subdir/config.json b/cli/tests/testdata/subdir/config.json
deleted file mode 100644
index 01c3b5e79..000000000
--- a/cli/tests/testdata/subdir/config.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "foo": {
- "bar": true,
- "baz": ["qat", 1]
- }
-}
diff --git a/cli/tests/testdata/subdir/emittable.d.ts b/cli/tests/testdata/subdir/emittable.d.ts
deleted file mode 100644
index 425b80f24..000000000
--- a/cli/tests/testdata/subdir/emittable.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const a: string;
diff --git a/cli/tests/testdata/subdir/evil_remote_import.js b/cli/tests/testdata/subdir/evil_remote_import.js
deleted file mode 100644
index 4ff7d1b97..000000000
--- a/cli/tests/testdata/subdir/evil_remote_import.js
+++ /dev/null
@@ -1,4 +0,0 @@
-// We expect to get a permission denied error if we dynamically
-// import this module without --allow-read.
-export * from "file:///c:/etc/passwd";
-console.log("Hello from evil_remote_import.js");
diff --git a/cli/tests/testdata/subdir/export_types.ts b/cli/tests/testdata/subdir/export_types.ts
deleted file mode 100644
index 18c8ed881..000000000
--- a/cli/tests/testdata/subdir/export_types.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-export interface A {
- a: string;
-}
-
-export class B implements A {
- a = "a";
-}
-
-export function create(): B {
- return new B();
-}
diff --git a/cli/tests/testdata/subdir/foo_types.d.ts b/cli/tests/testdata/subdir/foo_types.d.ts
deleted file mode 100644
index c489584b9..000000000
--- a/cli/tests/testdata/subdir/foo_types.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare namespace Foo {
- const bar: string;
-}
diff --git a/cli/tests/testdata/subdir/form_urlencoded.txt b/cli/tests/testdata/subdir/form_urlencoded.txt
deleted file mode 100644
index 70e087c20..000000000
--- a/cli/tests/testdata/subdir/form_urlencoded.txt
+++ /dev/null
@@ -1 +0,0 @@
-field_1=Hi&field_2=%3CDeno%3E \ No newline at end of file
diff --git a/cli/tests/testdata/subdir/import.mts b/cli/tests/testdata/subdir/import.mts
deleted file mode 100644
index eeb200f59..000000000
--- a/cli/tests/testdata/subdir/import.mts
+++ /dev/null
@@ -1,4 +0,0 @@
-import * as a from "./mod.mjs";
-import { type A } from "./types.d.mts";
-
-console.log(a.a as A);
diff --git a/cli/tests/testdata/subdir/indirect_import_error.js b/cli/tests/testdata/subdir/indirect_import_error.js
deleted file mode 100644
index 84011d291..000000000
--- a/cli/tests/testdata/subdir/indirect_import_error.js
+++ /dev/null
@@ -1 +0,0 @@
-export * from "does not exist either";
diff --git a/cli/tests/testdata/subdir/indirect_throws.js b/cli/tests/testdata/subdir/indirect_throws.js
deleted file mode 100644
index e1810a66c..000000000
--- a/cli/tests/testdata/subdir/indirect_throws.js
+++ /dev/null
@@ -1 +0,0 @@
-export * from "./throws.js";
diff --git a/cli/tests/testdata/subdir/json_1.json b/cli/tests/testdata/subdir/json_1.json
deleted file mode 100644
index 754d16b84..000000000
--- a/cli/tests/testdata/subdir/json_1.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "$var": { "a": 123, "b": [1, 2, 3], "c": null },
- "with space": "invalid variable name",
- "function": "reserved word"
-}
diff --git a/cli/tests/testdata/subdir/json_2.json b/cli/tests/testdata/subdir/json_2.json
deleted file mode 100644
index 7deb8b173..000000000
--- a/cli/tests/testdata/subdir/json_2.json
+++ /dev/null
@@ -1 +0,0 @@
-"just a string"
diff --git a/cli/tests/testdata/subdir/json_3.json b/cli/tests/testdata/subdir/json_3.json
deleted file mode 100644
index b20bc0649..000000000
--- a/cli/tests/testdata/subdir/json_3.json
+++ /dev/null
@@ -1 +0,0 @@
-"${globalThis}`and string literal`"
diff --git a/cli/tests/testdata/subdir/jsx_import_source_no_pragma.tsx b/cli/tests/testdata/subdir/jsx_import_source_no_pragma.tsx
deleted file mode 100644
index 2c756054f..000000000
--- a/cli/tests/testdata/subdir/jsx_import_source_no_pragma.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-function A() {
- return "hello";
-}
-
-export function B() {
- return <A></A>;
-}
diff --git a/cli/tests/testdata/subdir/main.ts b/cli/tests/testdata/subdir/main.ts
deleted file mode 100644
index 29acf42e0..000000000
--- a/cli/tests/testdata/subdir/main.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-if (import.meta.main) {
- console.log("Hello, world!");
-}
diff --git a/cli/tests/testdata/subdir/mismatch_ext.ts b/cli/tests/testdata/subdir/mismatch_ext.ts
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mismatch_ext.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mod.mjs b/cli/tests/testdata/subdir/mod.mjs
deleted file mode 100644
index 9233cce2f..000000000
--- a/cli/tests/testdata/subdir/mod.mjs
+++ /dev/null
@@ -1 +0,0 @@
-export const a = "a";
diff --git a/cli/tests/testdata/subdir/mod1.ts b/cli/tests/testdata/subdir/mod1.ts
deleted file mode 100644
index 5e58f432e..000000000
--- a/cli/tests/testdata/subdir/mod1.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { printHello2, returnsFoo } from "./subdir2/mod2.ts";
-
-export function returnsHi(): string {
- return "Hi";
-}
-
-export function returnsFoo2(): string {
- return returnsFoo();
-}
-
-export function printHello3() {
- printHello2();
-}
-
-export function throwsError() {
- throw Error("exception from mod1");
-}
diff --git a/cli/tests/testdata/subdir/mod2.ts b/cli/tests/testdata/subdir/mod2.ts
deleted file mode 100644
index ce1adc0e8..000000000
--- a/cli/tests/testdata/subdir/mod2.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { printHello } from "./print_hello.ts";
diff --git a/cli/tests/testdata/subdir/mod3.js b/cli/tests/testdata/subdir/mod3.js
deleted file mode 100644
index ce534f570..000000000
--- a/cli/tests/testdata/subdir/mod3.js
+++ /dev/null
@@ -1 +0,0 @@
-export const isTSFile = false;
diff --git a/cli/tests/testdata/subdir/mod4.js b/cli/tests/testdata/subdir/mod4.js
deleted file mode 100644
index 71332dbc4..000000000
--- a/cli/tests/testdata/subdir/mod4.js
+++ /dev/null
@@ -1 +0,0 @@
-export const isMod4 = true;
diff --git a/cli/tests/testdata/subdir/mod5.mjs b/cli/tests/testdata/subdir/mod5.mjs
deleted file mode 100644
index f21d8862b..000000000
--- a/cli/tests/testdata/subdir/mod5.mjs
+++ /dev/null
@@ -1 +0,0 @@
-export const isMod5 = true;
diff --git a/cli/tests/testdata/subdir/mod6.js b/cli/tests/testdata/subdir/mod6.js
deleted file mode 100644
index 5e17c9ee0..000000000
--- a/cli/tests/testdata/subdir/mod6.js
+++ /dev/null
@@ -1 +0,0 @@
-export { isMod4 } from "./mod4.js";
diff --git a/cli/tests/testdata/subdir/mod7.js b/cli/tests/testdata/subdir/mod7.js
deleted file mode 100644
index 2bd4b5eb7..000000000
--- a/cli/tests/testdata/subdir/mod7.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import json1 from "./json_1.json" assert { type: "json" };
-
-console.log(json1);
diff --git a/cli/tests/testdata/subdir/mod8.js b/cli/tests/testdata/subdir/mod8.js
deleted file mode 100644
index 5bf7a49a8..000000000
--- a/cli/tests/testdata/subdir/mod8.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import json3 from "./json_3.json" assert { type: "json" };
-
-console.log(json3);
diff --git a/cli/tests/testdata/subdir/more_decorators.ts b/cli/tests/testdata/subdir/more_decorators.ts
deleted file mode 100644
index 674705d56..000000000
--- a/cli/tests/testdata/subdir/more_decorators.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-// deno-lint-ignore-file
-function a() {
- console.log("a(): evaluated");
- return (
- _target: any,
- _propertyKey: string,
- _descriptor: PropertyDescriptor,
- ) => {
- console.log("a(): called");
- };
-}
-
-export class B {
- @a()
- method() {
- console.log("method");
- }
-}
diff --git a/cli/tests/testdata/subdir/mt_application_ecmascript.j2.js b/cli/tests/testdata/subdir/mt_application_ecmascript.j2.js
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_application_ecmascript.j2.js
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_application_ecmascript_jsx.j2.jsx b/cli/tests/testdata/subdir/mt_application_ecmascript_jsx.j2.jsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_application_ecmascript_jsx.j2.jsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_application_x_javascript.j4.js b/cli/tests/testdata/subdir/mt_application_x_javascript.j4.js
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_application_x_javascript.j4.js
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_application_x_javascript_jsx.j4.jsx b/cli/tests/testdata/subdir/mt_application_x_javascript_jsx.j4.jsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_application_x_javascript_jsx.j4.jsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_application_x_typescript.t4.ts b/cli/tests/testdata/subdir/mt_application_x_typescript.t4.ts
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_application_x_typescript.t4.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_application_x_typescript_tsx.t4.tsx b/cli/tests/testdata/subdir/mt_application_x_typescript_tsx.t4.tsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_application_x_typescript_tsx.t4.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_javascript.js b/cli/tests/testdata/subdir/mt_javascript.js
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_javascript.js
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_javascript_jsx.jsx b/cli/tests/testdata/subdir/mt_javascript_jsx.jsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_javascript_jsx.jsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_text_ecmascript.j3.js b/cli/tests/testdata/subdir/mt_text_ecmascript.j3.js
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_text_ecmascript.j3.js
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_text_ecmascript_jsx.j3.jsx b/cli/tests/testdata/subdir/mt_text_ecmascript_jsx.j3.jsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_text_ecmascript_jsx.j3.jsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_text_javascript.j1.js b/cli/tests/testdata/subdir/mt_text_javascript.j1.js
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_text_javascript.j1.js
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_text_javascript_jsx.j1.jsx b/cli/tests/testdata/subdir/mt_text_javascript_jsx.j1.jsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_text_javascript_jsx.j1.jsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_text_typescript.t1.ts b/cli/tests/testdata/subdir/mt_text_typescript.t1.ts
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_text_typescript.t1.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_text_typescript_tsx.t1.tsx b/cli/tests/testdata/subdir/mt_text_typescript_tsx.t1.tsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_text_typescript_tsx.t1.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_video_mp2t.t3.ts b/cli/tests/testdata/subdir/mt_video_mp2t.t3.ts
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_video_mp2t.t3.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_video_mp2t_tsx.t3.tsx b/cli/tests/testdata/subdir/mt_video_mp2t_tsx.t3.tsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_video_mp2t_tsx.t3.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_video_vdn.t2.ts b/cli/tests/testdata/subdir/mt_video_vdn.t2.ts
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/mt_video_vdn.t2.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/mt_video_vdn_tsx.t2.tsx b/cli/tests/testdata/subdir/mt_video_vdn_tsx.t2.tsx
deleted file mode 100644
index c5c27f9f9..000000000
--- a/cli/tests/testdata/subdir/mt_video_vdn_tsx.t2.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-const React = {
- createElement() {},
-};
-const temp = <div></div>;
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/no_ext b/cli/tests/testdata/subdir/no_ext
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/no_ext
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;
diff --git a/cli/tests/testdata/subdir/no_js_ext b/cli/tests/testdata/subdir/no_js_ext
deleted file mode 100644
index 8322a106f..000000000
--- a/cli/tests/testdata/subdir/no_js_ext
+++ /dev/null
@@ -1,3 +0,0 @@
-// @ts-check
-import { printHello } from "./mod2.ts";
-printHello();
diff --git a/cli/tests/testdata/subdir/polyfill.ts b/cli/tests/testdata/subdir/polyfill.ts
deleted file mode 100644
index 7af67c4c0..000000000
--- a/cli/tests/testdata/subdir/polyfill.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-declare global {
- const polyfill: () => void;
-}
-
-// deno-lint-ignore no-explicit-any
-(globalThis as any).polyfill = () => {
- console.log("polyfill");
-};
diff --git a/cli/tests/testdata/subdir/print_hello.ts b/cli/tests/testdata/subdir/print_hello.ts
deleted file mode 100644
index b9c0ad527..000000000
--- a/cli/tests/testdata/subdir/print_hello.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export function printHello() {
- console.log("Hello");
-}
diff --git a/cli/tests/testdata/subdir/redirects/a.ts b/cli/tests/testdata/subdir/redirects/a.ts
deleted file mode 100644
index 071ee4728..000000000
--- a/cli/tests/testdata/subdir/redirects/a.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createA } from "./b.ts";
-
-export class A {
- private _a = "a";
-}
-
-export function start(): A {
- return createA();
-}
diff --git a/cli/tests/testdata/subdir/redirects/b.ts b/cli/tests/testdata/subdir/redirects/b.ts
deleted file mode 100644
index cdb71eaae..000000000
--- a/cli/tests/testdata/subdir/redirects/b.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { A } from "./a.ts";
-
-export function createA(): A {
- return new A();
-}
diff --git a/cli/tests/testdata/subdir/redirects/redirect1.js b/cli/tests/testdata/subdir/redirects/redirect1.js
deleted file mode 100644
index d674be88c..000000000
--- a/cli/tests/testdata/subdir/redirects/redirect1.js
+++ /dev/null
@@ -1 +0,0 @@
-export const redirect = 1;
diff --git a/cli/tests/testdata/subdir/redirects/redirect1.ts b/cli/tests/testdata/subdir/redirects/redirect1.ts
deleted file mode 100644
index d674be88c..000000000
--- a/cli/tests/testdata/subdir/redirects/redirect1.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const redirect = 1;
diff --git a/cli/tests/testdata/subdir/redirects/redirect2.js b/cli/tests/testdata/subdir/redirects/redirect2.js
deleted file mode 100644
index e4244f638..000000000
--- a/cli/tests/testdata/subdir/redirects/redirect2.js
+++ /dev/null
@@ -1 +0,0 @@
-import "./redirect1.js";
diff --git a/cli/tests/testdata/subdir/redirects/redirect3.js b/cli/tests/testdata/subdir/redirects/redirect3.js
deleted file mode 100644
index e24f2af32..000000000
--- a/cli/tests/testdata/subdir/redirects/redirect3.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import { redirect } from "./redirect1.js";
-export const value = `3 imports ${redirect}`;
diff --git a/cli/tests/testdata/subdir/redirects/redirect4.ts b/cli/tests/testdata/subdir/redirects/redirect4.ts
deleted file mode 100644
index 45c65c5eb..000000000
--- a/cli/tests/testdata/subdir/redirects/redirect4.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { redirect } from "./redirect1.ts";
-export const value = `4 imports ${redirect}`;
diff --git a/cli/tests/testdata/subdir/shebang_file.js b/cli/tests/testdata/subdir/shebang_file.js
deleted file mode 100644
index 1c81be31c..000000000
--- a/cli/tests/testdata/subdir/shebang_file.js
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env -S deno run --allow-read
-
-for (const item of Deno.readDirSync(".")) {
- console.log(item.name);
-}
diff --git a/cli/tests/testdata/subdir/single_module.ts b/cli/tests/testdata/subdir/single_module.ts
deleted file mode 100644
index 940a3ff0e..000000000
--- a/cli/tests/testdata/subdir/single_module.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello world!");
diff --git a/cli/tests/testdata/subdir/subdir2/dynamic_import.ts b/cli/tests/testdata/subdir/subdir2/dynamic_import.ts
deleted file mode 100644
index 59beb64c3..000000000
--- a/cli/tests/testdata/subdir/subdir2/dynamic_import.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-(async () => {
- const { printHello } = await import("../mod2.ts");
- printHello();
-})();
diff --git a/cli/tests/testdata/subdir/subdir2/mod2.ts b/cli/tests/testdata/subdir/subdir2/mod2.ts
deleted file mode 100644
index 9071d0aeb..000000000
--- a/cli/tests/testdata/subdir/subdir2/mod2.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { printHello } from "../print_hello.ts";
-
-export function returnsFoo(): string {
- return "Foo";
-}
-
-export function printHello2() {
- printHello();
-}
diff --git a/cli/tests/testdata/subdir/test_worker_basic.js b/cli/tests/testdata/subdir/test_worker_basic.js
deleted file mode 100644
index b960128b4..000000000
--- a/cli/tests/testdata/subdir/test_worker_basic.js
+++ /dev/null
@@ -1,14 +0,0 @@
-console.log("hello from test_worker_basic.js");
-
-if (self.name !== "jsWorker") {
- throw Error(`Bad worker name: ${self.name}, expected jsWorker`);
-}
-
-onmessage = function (e) {
- postMessage(e.data);
- close();
-};
-
-onerror = function () {
- return false;
-};
diff --git a/cli/tests/testdata/subdir/throws.js b/cli/tests/testdata/subdir/throws.js
deleted file mode 100644
index abdf29156..000000000
--- a/cli/tests/testdata/subdir/throws.js
+++ /dev/null
@@ -1,6 +0,0 @@
-// deno-lint-ignore-file
-export function boo() {
- console.log("Boo!");
-}
-
-throw new Error("An error");
diff --git a/cli/tests/testdata/subdir/tla.ts b/cli/tests/testdata/subdir/tla.ts
deleted file mode 100644
index 713dbfca0..000000000
--- a/cli/tests/testdata/subdir/tla.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const foo = await Promise.resolve("Hello");
diff --git a/cli/tests/testdata/subdir/type_and_code.ts b/cli/tests/testdata/subdir/type_and_code.ts
deleted file mode 100644
index b14713419..000000000
--- a/cli/tests/testdata/subdir/type_and_code.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export interface AnInterface {
- a: string;
-}
-
-export function isAnInterface(value: unknown): value is AnInterface {
- return value && typeof value === "object" && "a" in value;
-}
diff --git a/cli/tests/testdata/subdir/type_error.ts b/cli/tests/testdata/subdir/type_error.ts
deleted file mode 100644
index cc3c1d29d..000000000
--- a/cli/tests/testdata/subdir/type_error.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const a: "a" = 12;
diff --git a/cli/tests/testdata/subdir/type_reference.d.ts b/cli/tests/testdata/subdir/type_reference.d.ts
deleted file mode 100644
index f9b8de5ed..000000000
--- a/cli/tests/testdata/subdir/type_reference.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const foo: "foo";
diff --git a/cli/tests/testdata/subdir/type_reference.js b/cli/tests/testdata/subdir/type_reference.js
deleted file mode 100644
index 917d89198..000000000
--- a/cli/tests/testdata/subdir/type_reference.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/// <reference types="./type_reference.d.ts" />
-
-export const foo = "foo";
diff --git a/cli/tests/testdata/subdir/types.d.mts b/cli/tests/testdata/subdir/types.d.mts
deleted file mode 100644
index 28c282146..000000000
--- a/cli/tests/testdata/subdir/types.d.mts
+++ /dev/null
@@ -1 +0,0 @@
-export type A = "a";
diff --git a/cli/tests/testdata/subdir/unknown_ext.deno b/cli/tests/testdata/subdir/unknown_ext.deno
deleted file mode 100644
index e67d2a017..000000000
--- a/cli/tests/testdata/subdir/unknown_ext.deno
+++ /dev/null
@@ -1 +0,0 @@
-export const loaded = true;