diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-16 14:39:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 15:39:58 +0200 |
commit | 968f441da32ae5fc3783a4f9bcda3d34fa276b4d (patch) | |
tree | 9dee28c5203fd326ddc0c60020e97bd1a6a12748 /tests/integration/check_tests.rs | |
parent | 8fa92228bb748bdc59e0fe003108dcaea0a18d10 (diff) |
test: rewrite some ignored tests to spec tests (#25652)
Ref https://github.com/denoland/deno/issues/25241
Rewritten these tests:
- check::package_json_basic
- check::package_json_fail_check
- check::package_json_with_deno_json
- info::package_json_basic
- test::package_json_basic
- run::package_json_auto_discovered_for_npm_binary
- run::package_json_with_deno_json
Diffstat (limited to 'tests/integration/check_tests.rs')
-rw-r--r-- | tests/integration/check_tests.rs | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/integration/check_tests.rs b/tests/integration/check_tests.rs index d3111727c..1ccec41eb 100644 --- a/tests/integration/check_tests.rs +++ b/tests/integration/check_tests.rs @@ -246,39 +246,6 @@ itest!(check_dts { exit_code: 1, }); -// TODO(2.0): this should be rewritten to a spec test and first run `deno install` -// itest!(package_json_basic { -// args: "check main.ts", -// output: "package_json/basic/main.check.out", -// envs: env_vars_for_npm_tests(), -// http_server: true, -// cwd: Some("package_json/basic"), -// copy_temp_dir: Some("package_json/basic"), -// exit_code: 0, -// }); - -// TODO(2.0): this should be rewritten to a spec test and first run `deno install` -// itest!(package_json_fail_check { -// args: "check --quiet fail_check.ts", -// output: "package_json/basic/fail_check.check.out", -// envs: env_vars_for_npm_tests(), -// http_server: true, -// cwd: Some("package_json/basic"), -// copy_temp_dir: Some("package_json/basic"), -// exit_code: 1, -// }); - -// TODO(2.0): this should be rewritten to a spec test and first run `deno install` -// itest!(package_json_with_deno_json { -// args: "check --quiet main.ts", -// output: "package_json/deno_json/main.check.out", -// cwd: Some("package_json/deno_json/"), -// copy_temp_dir: Some("package_json/deno_json/"), -// envs: env_vars_for_npm_tests(), -// http_server: true, -// exit_code: 1, -// }); - #[test] fn check_error_in_dep_then_fix() { let test_context = TestContextBuilder::new().use_temp_cwd().build(); |