Skip to content

Commit

Permalink
chore: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
await-ovo committed Nov 17, 2023
1 parent 37f2f22 commit 0471299
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/cli/tests/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use assert_cmd::prelude::*;
use command_extra::CommandExtra;
use pacquet_testing_utils::{
bin::{AddMockedRegistry, CommandTempCwd},
fs::{get_all_files, get_all_folders, is_symlink_or_junction},
fs::{get_all_files, get_all_folders, is_symlink_or_junction},
panic_after,
};
use pipe_trait::Pipe;
Expand Down Expand Up @@ -136,7 +136,7 @@ fn should_install_index_files() {
#[test]
fn should_install_duplicated_dependencies() {
let CommandTempCwd { pacquet, root, workspace, .. } =
CommandTempCwd::init().add_default_npmrc();
CommandTempCwd::init().add_mocked_registry();

eprintln!("Creating package.json...");
let manifest_path = workspace.join("package.json");
Expand Down
2 changes: 1 addition & 1 deletion crates/testing-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{ thread, sync::mpsc, time::Duration};
use std::{sync::mpsc, thread, time::Duration};
pub mod bin;
pub mod fs;

Expand Down

0 comments on commit 0471299

Please sign in to comment.