From 51582b39b01a9106df62ed9aadc2705ed12bcc1f Mon Sep 17 00:00:00 2001 From: khai96_ Date: Wed, 22 Nov 2023 01:24:57 +0700 Subject: [PATCH] fix(test): ignore failed platforms --- crates/cli/tests/install.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/cli/tests/install.rs b/crates/cli/tests/install.rs index 9f78be24..1298e6c7 100644 --- a/crates/cli/tests/install.rs +++ b/crates/cli/tests/install.rs @@ -136,6 +136,8 @@ fn should_install_index_files() { drop((root, mock_instance)); // cleanup } +#[cfg(not(target_os = "windows"))] // It causes ConnectionAborted on CI +#[cfg(not(target_os = "macos"))] // It causes ConnectionReset on CI #[test] fn frozen_lockfile_should_be_able_to_handle_big_lockfile() { let CommandTempCwd { pacquet, root, workspace, npmrc_info, .. } =