Skip to content

Commit

Permalink
docs: correction
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 16, 2023
1 parent f073279 commit 28cf278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/testing-utils/src/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl CommandTempCwd<()> {
}
}

/// Information after the creation of an `.npmrc` file from assets provided by [`CommandTempCwd`].
/// Information after the creation of an `.npmrc` file and a mocked registry from assets provided by [`CommandTempCwd`].
#[must_use]
pub struct AddMockedRegistry {
/// Path to the created `.npmrc` file.
Expand All @@ -49,7 +49,7 @@ pub struct AddMockedRegistry {
}

impl CommandTempCwd<()> {
/// Create a `.npmrc` file that defines `store-dir` and `cache-dir`.
/// Create a mock registry and a `.npmrc` file that defines `store-dir`, `cache-dir`, and `registry`.
pub fn add_mocked_registry(self) -> CommandTempCwd<AddMockedRegistry> {
let store_dir = self.root.path().join("pacquet-store");
let cache_dir = self.root.path().join("pacquet-cache");
Expand Down

0 comments on commit 28cf278

Please sign in to comment.