summaryrefslogtreecommitdiff
path: root/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics
diff options
context:
space:
mode:
authorMohammad Sulaiman <mohammad.sulaiman@exalt.ps>2024-10-02 12:22:35 +0300
committerGitHub <noreply@github.com>2024-10-02 09:22:35 +0000
commit3c193aef98bea6b3e0c9592cfdb43268e7a7e4af (patch)
treeadbf9730a91c0f692a633f028d8066819e37ab94 /tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics
parentd116709d064ce85922f1fd635d5915b4659c83d5 (diff)
chore: deprecate check itests (#25963)
Diffstat (limited to 'tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics')
-rw-r--r--tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.out11
-rw-r--r--tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.ts2
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.out b/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.out
new file mode 100644
index 000000000..fe46f0e42
--- /dev/null
+++ b/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.out
@@ -0,0 +1,11 @@
+error: TS2581 [ERROR]: Cannot find name '$'. Did you mean to import jQuery? Try adding `import $ from "npm:jquery";`.
+$;
+^
+ at file:///[WILDCARD]/npm_install_diagnostics/main.ts:1:1
+
+TS2580 [ERROR]: Cannot find name 'process'.
+process;
+~~~~~~~
+ at file:///[WILDCARD]/npm_install_diagnostics/main.ts:2:1
+
+Found 2 errors.
diff --git a/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.ts b/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.ts
new file mode 100644
index 000000000..62c0c5619
--- /dev/null
+++ b/tests/specs/check/check_npm_install_diagnostics/npm_install_diagnostics/main.ts
@@ -0,0 +1,2 @@
+$;
+process;