summaryrefslogtreecommitdiff
path: root/tests/specs/npm/workspace_basic
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-11-16 18:15:42 +0000
committerGitHub <noreply@github.com>2024-11-16 18:15:42 +0000
commit56df61677e9709ec8370ba6f3a0f8b08eb913a12 (patch)
tree3b6db90e4a91dceb63b4640d6c08fc0ab5fb110c /tests/specs/npm/workspace_basic
parentf2cd5655c6012202c634cad5b3c136006bf1f0bf (diff)
chore: reenable some tests disabled during Deno 1->2 migration (#26898)
Diffstat (limited to 'tests/specs/npm/workspace_basic')
-rw-r--r--tests/specs/npm/workspace_basic/__test__.jsonc26
-rw-r--r--tests/specs/npm/workspace_basic/b/no-exports-sub-path-not-exists.out2
2 files changed, 17 insertions, 11 deletions
diff --git a/tests/specs/npm/workspace_basic/__test__.jsonc b/tests/specs/npm/workspace_basic/__test__.jsonc
index 8ecde6887..45e414564 100644
--- a/tests/specs/npm/workspace_basic/__test__.jsonc
+++ b/tests/specs/npm/workspace_basic/__test__.jsonc
@@ -23,18 +23,24 @@
}]
},
"exports_sub_path_not_exists": {
- // TODO(2.0): this test appears legitimately broken
- "ignore": true,
- "args": "run b/exports-sub-path-not-exists.ts",
- "output": "b/exports-sub-path-not-exists.out",
- "exitCode": 1
+ "steps": [{
+ "args": "install",
+ "output": "[WILDCARD]"
+ }, {
+ "args": "run b/exports-sub-path-not-exists.ts",
+ "output": "b/exports-sub-path-not-exists.out",
+ "exitCode": 1
+ }]
},
"no_exports_sub_path_not_exists": {
- // TODO(2.0): this test appears legitimately broken
- "ignore": true,
- "args": "run b/no-exports-sub-path-not-exists.ts",
- "output": "b/no-exports-sub-path-not-exists.out",
- "exitCode": 1
+ "steps": [{
+ "args": "install",
+ "output": "[WILDCARD]"
+ }, {
+ "args": "run b/no-exports-sub-path-not-exists.ts",
+ "output": "b/no-exports-sub-path-not-exists.out",
+ "exitCode": 1
+ }]
}
}
}
diff --git a/tests/specs/npm/workspace_basic/b/no-exports-sub-path-not-exists.out b/tests/specs/npm/workspace_basic/b/no-exports-sub-path-not-exists.out
index f98aa34cb..a2ae57dfe 100644
--- a/tests/specs/npm/workspace_basic/b/no-exports-sub-path-not-exists.out
+++ b/tests/specs/npm/workspace_basic/b/no-exports-sub-path-not-exists.out
@@ -1,3 +1,3 @@
[# not the best error, but it did resolve because there was no exports specified]
-error: Module not found "file:///[WILDLINE]/c/non-existent".
+error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///[WILDLINE]/c/non-existent' imported from 'file:///[WILDLINE]/b/no-exports-sub-path-not-exists.ts'
at file:///[WILDLINE]/b/no-exports-sub-path-not-exists.ts:1:20