From d6559837a3bf486dece34ee209fa994ccfdeb2b2 Mon Sep 17 00:00:00 2001 From: Li Junchen Date: Tue, 24 Sep 2024 11:12:18 +0800 Subject: [PATCH] fix: attempt to resolve a random failure (#337) --- crates/moon/tests/test_cases/mod.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/moon/tests/test_cases/mod.rs b/crates/moon/tests/test_cases/mod.rs index 38972ce8..d78c0a3c 100644 --- a/crates/moon/tests/test_cases/mod.rs +++ b/crates/moon/tests/test_cases/mod.rs @@ -6260,7 +6260,17 @@ fn test_snapshot_test_target_js() { ); assert!(dir.join("target/js/debug/test/package.json").exists()); check( - &get_stdout(&dir, ["test", "--target", "js", "-u"]), + &get_stdout( + &dir, + [ + "test", + "--target", + "js", + "-u", + "--sort-input", + "--no-parallelize", + ], + ), expect![[r#" Auto updating expect tests and retesting ...