summaryrefslogtreecommitdiff
path: root/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-09-21 02:08:32 +0530
committerGitHub <noreply@github.com>2024-09-20 22:38:32 +0200
commit94bdebe3998d503c625dbf093c40d7cb9d694d7c (patch)
tree4a09558a0ada78df662a9f7a384fb0b7372662e1 /tests/integration/npm_tests.rs
parent3e053f8f06cfd83bd3f162ee68a0eca849e50d2a (diff)
refactor(tests): migrate npm itests to specs (#25764)
Towards https://github.com/denoland/deno/issues/25241
Diffstat (limited to 'tests/integration/npm_tests.rs')
-rw-r--r--tests/integration/npm_tests.rs33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs
index 3aea62fc6..004136ae7 100644
--- a/tests/integration/npm_tests.rs
+++ b/tests/integration/npm_tests.rs
@@ -145,17 +145,6 @@ itest!(mixed_case_package_name_local_dir {
temp_cwd: true,
});
-// TODO(2.0): this should be rewritten to a spec test and first run `deno install`
-// itest!(local_dir_resolves_symlinks {
-// args: "run -A index.js",
-// output: "npm/local_dir_resolves_symlinks/index.out",
-// exit_code: 0,
-// envs: env_vars_for_npm_tests(),
-// cwd: Some("npm/local_dir_resolves_symlinks/"),
-// copy_temp_dir: Some("npm/local_dir_resolves_symlinks/"),
-// http_server: true,
-// });
-
// FIXME(bartlomieju): npm: specifiers are not handled in dynamic imports
// at the moment
// itest!(dynamic_import {
@@ -1561,28 +1550,6 @@ itest!(create_require {
http_server: true,
});
-// TODO(2.0): this should be rewritten to a spec test and first run `deno install`
-// itest!(node_modules_import_run {
-// args: "run --quiet main.ts",
-// output: "npm/node_modules_import/main.out",
-// http_server: true,
-// copy_temp_dir: Some("npm/node_modules_import/"),
-// cwd: Some("npm/node_modules_import/"),
-// envs: env_vars_for_npm_tests(),
-// exit_code: 0,
-// });
-
-// TODO(2.0): this should be rewritten to a spec test and first run `deno install`
-// itest!(node_modules_import_check {
-// args: "check --quiet main.ts",
-// output: "npm/node_modules_import/main_check.out",
-// envs: env_vars_for_npm_tests(),
-// http_server: true,
-// cwd: Some("npm/node_modules_import/"),
-// copy_temp_dir: Some("npm/node_modules_import/"),
-// exit_code: 1,
-// });
-
itest!(non_existent_dep {
args: "cache npm:@denotest/non-existent-dep",
envs: env_vars_for_npm_tests(),