summaryrefslogtreecommitdiff
path: root/cli/tests/doc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-11 10:20:47 -0400
committerGitHub <noreply@github.com>2021-08-11 10:20:47 -0400
commit15a763152f9d392cb80692262f8de5ef8ae15495 (patch)
treefcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/doc
parenta0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff)
chore: move test files to testdata directory (#11601)
Diffstat (limited to 'cli/tests/doc')
-rw-r--r--cli/tests/doc/import_map.json5
-rw-r--r--cli/tests/doc/invalid_url.out4
-rw-r--r--cli/tests/doc/module/fun.js2
-rw-r--r--cli/tests/doc/types_header.out6
-rw-r--r--cli/tests/doc/types_header.ts1
-rw-r--r--cli/tests/doc/types_hint.out5
-rw-r--r--cli/tests/doc/types_hint.ts2
-rw-r--r--cli/tests/doc/types_ref.js2
-rw-r--r--cli/tests/doc/types_ref.out5
-rw-r--r--cli/tests/doc/use_import_map.js1
-rw-r--r--cli/tests/doc/use_import_map.out5
11 files changed, 0 insertions, 38 deletions
diff --git a/cli/tests/doc/import_map.json b/cli/tests/doc/import_map.json
deleted file mode 100644
index 244a30296..000000000
--- a/cli/tests/doc/import_map.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "imports": {
- "rex/": "./module/"
- }
-}
diff --git a/cli/tests/doc/invalid_url.out b/cli/tests/doc/invalid_url.out
deleted file mode 100644
index 8be787e90..000000000
--- a/cli/tests/doc/invalid_url.out
+++ /dev/null
@@ -1,4 +0,0 @@
-error: invalid URL: invalid domain character
-
-Caused by:
- invalid domain character
diff --git a/cli/tests/doc/module/fun.js b/cli/tests/doc/module/fun.js
deleted file mode 100644
index 28901d945..000000000
--- a/cli/tests/doc/module/fun.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/** This is some documentation */
-export function fun(_a, _b) {}
diff --git a/cli/tests/doc/types_header.out b/cli/tests/doc/types_header.out
deleted file mode 100644
index ccff1a373..000000000
--- a/cli/tests/doc/types_header.out
+++ /dev/null
@@ -1,6 +0,0 @@
-Download http://127.0.0.1:4545/xTypeScriptTypes.js
-Download http://127.0.0.1:4545/xTypeScriptTypes.d.ts
-Defined in http://127.0.0.1:4545/xTypeScriptTypes.d.ts:1:0
-
-const foo: "foo"
-
diff --git a/cli/tests/doc/types_header.ts b/cli/tests/doc/types_header.ts
deleted file mode 100644
index b64c8d000..000000000
--- a/cli/tests/doc/types_header.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "http://127.0.0.1:4545/xTypeScriptTypes.js";
diff --git a/cli/tests/doc/types_hint.out b/cli/tests/doc/types_hint.out
deleted file mode 100644
index 7eb05faed..000000000
--- a/cli/tests/doc/types_hint.out
+++ /dev/null
@@ -1,5 +0,0 @@
-Defined in [WILDCARD]/type_definitions/foo.d.ts:2:0
-
-const foo: string
- An exported value.
-
diff --git a/cli/tests/doc/types_hint.ts b/cli/tests/doc/types_hint.ts
deleted file mode 100644
index bacea46db..000000000
--- a/cli/tests/doc/types_hint.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-// @deno-types="../type_definitions/foo.d.ts"
-export * from "../type_definitions/foo.js";
diff --git a/cli/tests/doc/types_ref.js b/cli/tests/doc/types_ref.js
deleted file mode 100644
index 03d8b5570..000000000
--- a/cli/tests/doc/types_ref.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/// <reference types="../type_definitions/foo.d.ts" />
-export const foo = "foo";
diff --git a/cli/tests/doc/types_ref.out b/cli/tests/doc/types_ref.out
deleted file mode 100644
index 7eb05faed..000000000
--- a/cli/tests/doc/types_ref.out
+++ /dev/null
@@ -1,5 +0,0 @@
-Defined in [WILDCARD]/type_definitions/foo.d.ts:2:0
-
-const foo: string
- An exported value.
-
diff --git a/cli/tests/doc/use_import_map.js b/cli/tests/doc/use_import_map.js
deleted file mode 100644
index 672a7a7bd..000000000
--- a/cli/tests/doc/use_import_map.js
+++ /dev/null
@@ -1 +0,0 @@
-export { fun } from "rex/fun.js";
diff --git a/cli/tests/doc/use_import_map.out b/cli/tests/doc/use_import_map.out
deleted file mode 100644
index 0b27ccf18..000000000
--- a/cli/tests/doc/use_import_map.out
+++ /dev/null
@@ -1,5 +0,0 @@
-Defined in [WILDCARD]/doc/module/fun.js:2:0
-
-function fun(_a, _b)
- This is some documentation
-