mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: reenable some tests disabled during Deno 1->2 migration (#26898)
This commit is contained in:
parent
f2cd5655c6
commit
56df61677e
10 changed files with 39 additions and 27 deletions
|
@ -23,18 +23,24 @@
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
"exports_sub_path_not_exists": {
|
"exports_sub_path_not_exists": {
|
||||||
// TODO(2.0): this test appears legitimately broken
|
"steps": [{
|
||||||
"ignore": true,
|
"args": "install",
|
||||||
|
"output": "[WILDCARD]"
|
||||||
|
}, {
|
||||||
"args": "run b/exports-sub-path-not-exists.ts",
|
"args": "run b/exports-sub-path-not-exists.ts",
|
||||||
"output": "b/exports-sub-path-not-exists.out",
|
"output": "b/exports-sub-path-not-exists.out",
|
||||||
"exitCode": 1
|
"exitCode": 1
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"no_exports_sub_path_not_exists": {
|
"no_exports_sub_path_not_exists": {
|
||||||
// TODO(2.0): this test appears legitimately broken
|
"steps": [{
|
||||||
"ignore": true,
|
"args": "install",
|
||||||
|
"output": "[WILDCARD]"
|
||||||
|
}, {
|
||||||
"args": "run b/no-exports-sub-path-not-exists.ts",
|
"args": "run b/no-exports-sub-path-not-exists.ts",
|
||||||
"output": "b/no-exports-sub-path-not-exists.out",
|
"output": "b/no-exports-sub-path-not-exists.out",
|
||||||
"exitCode": 1
|
"exitCode": 1
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[# not the best error, but it did resolve because there was no exports specified]
|
[# 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
|
at file:///[WILDLINE]/b/no-exports-sub-path-not-exists.ts:1:20
|
||||||
|
|
|
@ -2,15 +2,11 @@
|
||||||
"tempDir": true,
|
"tempDir": true,
|
||||||
"tests": {
|
"tests": {
|
||||||
"member": {
|
"member": {
|
||||||
// TODO(2.0): this test appears legitimately broken
|
"args": "run --allow-read --node-modules-dir=auto member/main.ts",
|
||||||
"ignore": true,
|
|
||||||
"args": "run --allow-read member/main.ts",
|
|
||||||
"output": "member.out"
|
"output": "member.out"
|
||||||
},
|
},
|
||||||
"member_with_deno_json": {
|
"member_with_deno_json": {
|
||||||
// TODO(2.0): this test appears legitimately broken
|
"args": "run --allow-read --node-modules-dir=auto member_with_deno_json/main.ts",
|
||||||
"ignore": true,
|
|
||||||
"args": "run --allow-read member_with_deno_json/main.ts",
|
|
||||||
"output": "member.out"
|
"output": "member.out"
|
||||||
},
|
},
|
||||||
"non_member": {
|
"non_member": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
// will cause a warning
|
// will cause a warning
|
||||||
"nodeModules": "local-auto"
|
"nodeModulesDir": "auto"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,24 @@
|
||||||
{
|
{
|
||||||
// TODO(2.0): these tests are actually broken now, some code needs
|
|
||||||
// to be updated to make them work
|
|
||||||
"ignore": true,
|
|
||||||
"tests": {
|
"tests": {
|
||||||
"dep_and_workspace_dep": {
|
"dep_and_workspace_dep": {
|
||||||
|
"steps": [{
|
||||||
|
"args": "install",
|
||||||
|
"output": "[WILDCARD]"
|
||||||
|
}, {
|
||||||
"args": "publish --dry-run --no-check --log-level=debug",
|
"args": "publish --dry-run --no-check --log-level=debug",
|
||||||
"cwd": "subtract",
|
"cwd": "subtract",
|
||||||
"output": "publish-subtract.out"
|
"output": "publish-subtract.out"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"bare_specifier": {
|
"bare_specifier": {
|
||||||
|
"steps": [{
|
||||||
|
"args": "install",
|
||||||
|
"output": "[WILDCARD]"
|
||||||
|
}, {
|
||||||
"args": "publish --dry-run --no-check --log-level=debug",
|
"args": "publish --dry-run --no-check --log-level=debug",
|
||||||
"cwd": "subtract-2",
|
"cwd": "subtract-2",
|
||||||
"output": "publish-subtract2.out"
|
"output": "publish-subtract2.out"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
0
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock
generated
vendored
Normal file
0
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock
generated
vendored
Normal file
1
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock.poll
generated
vendored
Normal file
1
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.deno.lock.poll
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1
|
BIN
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.setup-cache.bin
generated
vendored
Normal file
BIN
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/.deno/.setup-cache.bin
generated
vendored
Normal file
Binary file not shown.
1
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add
generated
vendored
Symbolic link
1
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../add
|
1
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add-dep
generated
vendored
Symbolic link
1
tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/node_modules/add-dep
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../add
|
Loading…
Reference in a new issue