Skip to content

Commit f761198

Browse files
authored
internal: Rename test utils. (#2557)
Rename.
1 parent 01793e7 commit f761198

65 files changed

Lines changed: 79 additions & 79 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/action-graph/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tracing = { workspace = true }
3535

3636
[dev-dependencies]
3737
moon_config = { path = "../config" }
38-
moon_test_utils2 = { path = "../test-utils" }
38+
moon_test_utils = { path = "../test-utils" }
3939
starbase_sandbox = { workspace = true }
4040

4141
[lints]

crates/action-graph/src/action_graph_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ impl ActionGraphBuilder<'_> {
14311431
#[cfg(test)]
14321432
mod tests {
14331433
use super::*;
1434-
use moon_test_utils2::WorkspaceMocker;
1434+
use moon_test_utils::WorkspaceMocker;
14351435
use starbase_sandbox::create_sandbox;
14361436
use std::fs;
14371437

crates/action-graph/tests/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use moon_action_graph::*;
2-
use moon_test_utils2::WorkspaceMocker;
2+
use moon_test_utils::WorkspaceMocker;
33
use moon_workspace_graph::WorkspaceGraph;
44
use std::path::{Path, PathBuf};
55
use std::sync::Arc;

crates/action-pipeline/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tokio-util = { workspace = true }
3737
tracing = { workspace = true }
3838

3939
[dev-dependencies]
40-
moon_test_utils2 = { path = "../test-utils" }
40+
moon_test_utils = { path = "../test-utils" }
4141
starbase_sandbox = { workspace = true }
4242

4343
[lints]

crates/action-pipeline/tests/action_pipeline_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use moon_action::Action;
22
use moon_action_graph::RunRequirements;
33
use moon_task::Target;
4-
use moon_test_utils2::WorkspaceMocker;
4+
use moon_test_utils::WorkspaceMocker;
55
use starbase_sandbox::create_sandbox;
66

77
fn get_labels(actions: Vec<Action>) -> Vec<String> {

crates/actions/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tokio = { workspace = true }
4242
tracing = { workspace = true }
4343

4444
[dev-dependencies]
45-
moon_test_utils2 = { path = "../test-utils" }
45+
moon_test_utils = { path = "../test-utils" }
4646
serial_test = { workspace = true }
4747
starbase_sandbox = { workspace = true }
4848

crates/actions/tests/commands_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use moon_action::{ActionStatus, Operation};
22
use moon_actions::plugins::*;
33
use moon_env_var::GlobalEnvBag;
44
use moon_pdk_api::{CacheInput, ExecCommand, ExecCommandInput, VirtualPath};
5-
use moon_test_utils2::WorkspaceMocker;
5+
use moon_test_utils::WorkspaceMocker;
66
use starbase_sandbox::{Sandbox, assert_snapshot, create_empty_sandbox};
77
use starbase_utils::json;
88
use std::fs;

crates/actions/tests/sync_project_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use moon_action_context::ActionContext;
33
use moon_actions::actions::sync_project;
44
use moon_common::{Id, is_ci};
55
use moon_env_var::GlobalEnvBag;
6-
use moon_test_utils2::WorkspaceMocker;
6+
use moon_test_utils::WorkspaceMocker;
77
use starbase_sandbox::{Sandbox, create_sandbox};
88

99
fn create_workspace() -> (Sandbox, WorkspaceMocker) {

crates/actions/tests/sync_workspace_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use moon_action_context::ActionContext;
33
use moon_actions::actions::sync_workspace;
44
use moon_common::is_ci;
55
use moon_env_var::GlobalEnvBag;
6-
use moon_test_utils2::WorkspaceMocker;
6+
use moon_test_utils::WorkspaceMocker;
77
use starbase_sandbox::{Sandbox, create_empty_sandbox};
88

99
fn create_workspace() -> (Sandbox, WorkspaceMocker) {

0 commit comments

Comments
 (0)