1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -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:
Bartek Iwańczuk 2024-09-24 02:33:03 +01:00 committed by GitHub
parent d8036ab20c
commit 74e294c8c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 16 additions and 17 deletions

View file

@ -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",

View file

@ -0,0 +1,10 @@
{
"tempDir": true,
"steps": [
{
"args": "install",
"output": "install.out"
},
{ "args": "task bin asdf", "output": "package_json_selected.out" }
]
}

View file

@ -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

View file

@ -0,0 +1,5 @@
Task bin cli-esm testing this out "asdf"
testing
this
out
asdf

View file

@ -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,