summaryrefslogtreecommitdiff
path: root/tests/specs/check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/check')
-rw-r--r--tests/specs/check/cjs_default_export/main.out2
-rw-r--r--tests/specs/check/css_import/exists_run_with_check.out2
-rw-r--r--tests/specs/check/jsx_import_source_not_in_graph/__test__.jsonc4
-rw-r--r--tests/specs/check/jsx_import_source_not_in_graph/deno.json6
-rw-r--r--tests/specs/check/jsx_import_source_not_in_graph/main.out1
-rw-r--r--tests/specs/check/jsx_import_source_not_in_graph/main.ts1
-rw-r--r--tests/specs/check/package_json/install.out2
-rw-r--r--tests/specs/check/package_json_auto_install/check.out2
-rw-r--r--tests/specs/check/package_json_fail_check/install.out2
-rw-r--r--tests/specs/check/package_json_with_deno_json/install.out2
10 files changed, 18 insertions, 6 deletions
diff --git a/tests/specs/check/cjs_default_export/main.out b/tests/specs/check/cjs_default_export/main.out
index f284593a1..6c5f18b63 100644
--- a/tests/specs/check/cjs_default_export/main.out
+++ b/tests/specs/check/cjs_default_export/main.out
@@ -1,4 +1,4 @@
-Download http://localhost:4260/@denotest/cjs-default-export
+Download http://localhost:4260/@denotest%2fcjs-default-export
Download http://localhost:4260/@denotest/cjs-default-export/1.0.0.tgz
Check file:///[WILDCARD]/main.ts
error: TS2322 [ERROR]: Type 'number' is not assignable to type 'string'.
diff --git a/tests/specs/check/css_import/exists_run_with_check.out b/tests/specs/check/css_import/exists_run_with_check.out
index 1a1dafeb7..315769e40 100644
--- a/tests/specs/check/css_import/exists_run_with_check.out
+++ b/tests/specs/check/css_import/exists_run_with_check.out
@@ -1,3 +1,3 @@
-error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.
+error: Expected a JavaScript or TypeScript module, but identified a Css module. Importing these types of modules is currently not supported.
Specifier: file:///[WILDLINE]/app.css
at file:///[WILDLINE]/exists.ts:2:8
diff --git a/tests/specs/check/jsx_import_source_not_in_graph/__test__.jsonc b/tests/specs/check/jsx_import_source_not_in_graph/__test__.jsonc
new file mode 100644
index 000000000..de0339cfb
--- /dev/null
+++ b/tests/specs/check/jsx_import_source_not_in_graph/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "check main.ts",
+ "output": "main.out"
+}
diff --git a/tests/specs/check/jsx_import_source_not_in_graph/deno.json b/tests/specs/check/jsx_import_source_not_in_graph/deno.json
new file mode 100644
index 000000000..219ef515f
--- /dev/null
+++ b/tests/specs/check/jsx_import_source_not_in_graph/deno.json
@@ -0,0 +1,6 @@
+{
+ "compilerOptions": {
+ "jsx": "react-jsx",
+ "jsxImportSource": "npm:preact"
+ }
+}
diff --git a/tests/specs/check/jsx_import_source_not_in_graph/main.out b/tests/specs/check/jsx_import_source_not_in_graph/main.out
new file mode 100644
index 000000000..1830c3186
--- /dev/null
+++ b/tests/specs/check/jsx_import_source_not_in_graph/main.out
@@ -0,0 +1 @@
+Check file:///[WILDLINE]/main.ts
diff --git a/tests/specs/check/jsx_import_source_not_in_graph/main.ts b/tests/specs/check/jsx_import_source_not_in_graph/main.ts
new file mode 100644
index 000000000..bf6b81796
--- /dev/null
+++ b/tests/specs/check/jsx_import_source_not_in_graph/main.ts
@@ -0,0 +1 @@
+console.log("Hello");
diff --git a/tests/specs/check/package_json/install.out b/tests/specs/check/package_json/install.out
index b8114c12a..8f03ba640 100644
--- a/tests/specs/check/package_json/install.out
+++ b/tests/specs/check/package_json/install.out
@@ -1,3 +1,3 @@
-Download http://localhost:4260/@denotest/esm-basic
+Download http://localhost:4260/@denotest%2fesm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0
diff --git a/tests/specs/check/package_json_auto_install/check.out b/tests/specs/check/package_json_auto_install/check.out
index db9bd198c..6b75c8642 100644
--- a/tests/specs/check/package_json_auto_install/check.out
+++ b/tests/specs/check/package_json_auto_install/check.out
@@ -1,4 +1,4 @@
-Download http://localhost:4260/@denotest/esm-basic
+Download http://localhost:4260/@denotest%2fesm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0
Check file://[WILDCARD]/main.ts
diff --git a/tests/specs/check/package_json_fail_check/install.out b/tests/specs/check/package_json_fail_check/install.out
index b8114c12a..8f03ba640 100644
--- a/tests/specs/check/package_json_fail_check/install.out
+++ b/tests/specs/check/package_json_fail_check/install.out
@@ -1,3 +1,3 @@
-Download http://localhost:4260/@denotest/esm-basic
+Download http://localhost:4260/@denotest%2fesm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0
diff --git a/tests/specs/check/package_json_with_deno_json/install.out b/tests/specs/check/package_json_with_deno_json/install.out
index b8114c12a..8f03ba640 100644
--- a/tests/specs/check/package_json_with_deno_json/install.out
+++ b/tests/specs/check/package_json_with_deno_json/install.out
@@ -1,3 +1,3 @@
-Download http://localhost:4260/@denotest/esm-basic
+Download http://localhost:4260/@denotest%2fesm-basic
Download http://localhost:4260/@denotest/esm-basic/1.0.0.tgz
Initialize @denotest/esm-basic@1.0.0