Skip to content

Commit

Permalink
fix: flaky tests (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz authored Nov 16, 2024
1 parent 3093be5 commit 73dcfc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
args: --verbose -- --test-threads=1

lint:
name: Lint
Expand Down
3 changes: 0 additions & 3 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ mod test {
assert_eq!(PackageManager::resolve().unwrap(), PackageManager::Yarn);

fs::remove_file("yarn.lock").unwrap();
fs::File::create("pnpm-lock.yaml").unwrap();
assert_eq!(PackageManager::resolve().unwrap(), PackageManager::Pnpm);

fs::remove_file("pnpm-lock.yaml").unwrap();
}

#[test]
Expand Down

0 comments on commit 73dcfc4

Please sign in to comment.