summaryrefslogtreecommitdiff
path: root/tests/testdata/npm/mixed_case_package_name
diff options
context:
space:
mode:
authorMohammad Sulaiman <mohammad.sulaiman@exalt.ps>2024-09-25 21:46:18 +0300
committerGitHub <noreply@github.com>2024-09-25 18:46:18 +0000
commitc232ecc6af5a09a8f0480e3b2b87ef2cd2b3a348 (patch)
tree49874a35cc2d27d90d0ec26423e8bfe040385683 /tests/testdata/npm/mixed_case_package_name
parent8cdb309ffd6686b2f3c4a2126d927fd5770be34d (diff)
chore: deprecate npm itests (#25804)
Diffstat (limited to 'tests/testdata/npm/mixed_case_package_name')
-rw-r--r--tests/testdata/npm/mixed_case_package_name/global.out9
-rw-r--r--tests/testdata/npm/mixed_case_package_name/global.ts2
-rw-r--r--tests/testdata/npm/mixed_case_package_name/local.out13
-rw-r--r--tests/testdata/npm/mixed_case_package_name/local.ts18
4 files changed, 0 insertions, 42 deletions
diff --git a/tests/testdata/npm/mixed_case_package_name/global.out b/tests/testdata/npm/mixed_case_package_name/global.out
deleted file mode 100644
index fdacea385..000000000
--- a/tests/testdata/npm/mixed_case_package_name/global.out
+++ /dev/null
@@ -1,9 +0,0 @@
-[UNORDERED_START]
-Download http://localhost:4260/@denotest/MixedCase
-Download http://localhost:4260/@denotest/CAPITALS
-[UNORDERED_END]
-[UNORDERED_START]
-Download http://localhost:4260/@denotest/CAPITALS/1.0.0.tgz
-Download http://localhost:4260/@denotest/MixedCase/1.0.0.tgz
-[UNORDERED_END]
-5
diff --git a/tests/testdata/npm/mixed_case_package_name/global.ts b/tests/testdata/npm/mixed_case_package_name/global.ts
deleted file mode 100644
index a721b3d78..000000000
--- a/tests/testdata/npm/mixed_case_package_name/global.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import value from "npm:@denotest/MixedCase";
-console.log(value);
diff --git a/tests/testdata/npm/mixed_case_package_name/local.out b/tests/testdata/npm/mixed_case_package_name/local.out
deleted file mode 100644
index 6ab989d80..000000000
--- a/tests/testdata/npm/mixed_case_package_name/local.out
+++ /dev/null
@@ -1,13 +0,0 @@
-[UNORDERED_START]
-Download http://localhost:4260/@denotest/MixedCase
-Download http://localhost:4260/@denotest/CAPITALS
-[UNORDERED_END]
-[UNORDERED_START]
-Download http://localhost:4260/@denotest/CAPITALS/1.0.0.tgz
-Initialize @denotest/CAPITALS@1.0.0
-Download http://localhost:4260/@denotest/MixedCase/1.0.0.tgz
-Initialize @denotest/MixedCase@1.0.0
-[UNORDERED_END]
-5
-true
-true
diff --git a/tests/testdata/npm/mixed_case_package_name/local.ts b/tests/testdata/npm/mixed_case_package_name/local.ts
deleted file mode 100644
index 6ca6cb581..000000000
--- a/tests/testdata/npm/mixed_case_package_name/local.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import value from "npm:@denotest/MixedCase";
-console.log(value);
-console.log(pathExists("./node_modules/.deno"));
-console.log(
- pathExists("./node_modules/.deno/_ibsgk3tporsxg5bpinavaskuifgfg@1.0.0"),
-);
-
-function pathExists(filePath: string) {
- try {
- Deno.lstatSync(filePath);
- return true;
- } catch (error) {
- if (error instanceof Deno.errors.NotFound) {
- return false;
- }
- throw error;
- }
-}