From 1615852025f87433a217877489f47a12c45dc497 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 1 Dec 2022 12:26:33 -0500 Subject: chore(npm): fix types tests (#16882) --- cli/tests/npm_tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/tests/npm_tests.rs') diff --git a/cli/tests/npm_tests.rs b/cli/tests/npm_tests.rs index 39dd1d549..61b2dc886 100644 --- a/cli/tests/npm_tests.rs +++ b/cli/tests/npm_tests.rs @@ -320,27 +320,27 @@ mod npm { }); itest!(types_entry_value_not_exists { - args: "run --check=all npm/types_entry_value_not_exists/main.ts", + args: "check --remote npm/types_entry_value_not_exists/main.ts", output: "npm/types_entry_value_not_exists/main.out", envs: env_vars_for_npm_tests(), http_server: true, - exit_code: 0, + exit_code: 1, }); itest!(types_exports_import_types { - args: "run --check=all npm/types_exports_import_types/main.ts", + args: "check --remote npm/types_exports_import_types/main.ts", output: "npm/types_exports_import_types/main.out", envs: env_vars_for_npm_tests(), http_server: true, - exit_code: 0, + exit_code: 1, }); itest!(types_no_types_entry { - args: "run --check=all npm/types_no_types_entry/main.ts", + args: "check --remote npm/types_no_types_entry/main.ts", output: "npm/types_no_types_entry/main.out", envs: env_vars_for_npm_tests(), http_server: true, - exit_code: 0, + exit_code: 1, }); itest!(typescript_file_in_package { -- cgit v1.2.3