mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
refactor: reenable more tests after DENO_FUTURE migration (#25752)
Rewrites and reenables following tests: - `task::task_both_package_json_selected`
This commit is contained in:
parent
d8036ab20c
commit
74e294c8c1
7 changed files with 16 additions and 17 deletions
|
@ -31,17 +31,6 @@
|
|||
// http_server: true,
|
||||
// });
|
||||
|
||||
// TODO(2.0): not entirely clear what's wrong with this test
|
||||
// itest!(task_both_package_json_selected {
|
||||
// args: "task bin asdf",
|
||||
// cwd: Some("task/both/"),
|
||||
// output: "task/both/package_json_selected.out",
|
||||
// copy_temp_dir: Some("task/both/"),
|
||||
// envs: env_vars_for_npm_tests(),
|
||||
// exit_code: 0,
|
||||
// http_server: true,
|
||||
// });
|
||||
|
||||
// TODO(2.0): not entirely clear what's wrong with this test but it hangs for more than 60s
|
||||
// itest!(task_npx_on_own {
|
||||
// args: "task on-own",
|
||||
|
|
10
tests/specs/task/both_package_json_selected/__test__.jsonc
Normal file
10
tests/specs/task/both_package_json_selected/__test__.jsonc
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"tempDir": true,
|
||||
"steps": [
|
||||
{
|
||||
"args": "install",
|
||||
"output": "install.out"
|
||||
},
|
||||
{ "args": "task bin asdf", "output": "package_json_selected.out" }
|
||||
]
|
||||
}
|
|
@ -1,8 +1,3 @@
|
|||
Download http://localhost:4260/@denotest/bin
|
||||
Download http://localhost:4260/@denotest/bin/1.0.0.tgz
|
||||
Initialize @denotest/bin@1.0.0
|
||||
Task bin cli-esm testing this out "asdf"
|
||||
testing
|
||||
this
|
||||
out
|
||||
asdf
|
|
@ -0,0 +1,5 @@
|
|||
Task bin cli-esm testing this out "asdf"
|
||||
testing
|
||||
this
|
||||
out
|
||||
asdf
|
|
@ -220,7 +220,7 @@ async function ensureNoNewITests() {
|
|||
"repl_tests.rs": 0,
|
||||
"run_tests.rs": 331,
|
||||
"shared_library_tests.rs": 0,
|
||||
"task_tests.rs": 4,
|
||||
"task_tests.rs": 3,
|
||||
"test_tests.rs": 0,
|
||||
"upgrade_tests.rs": 0,
|
||||
"vendor_tests.rs": 1,
|
||||
|
|
Loading…
Reference in a new issue