Skip to content

Commit 197dcc6

Browse files
authored
fix: updated Glob Pattern So Nested Tests Run (#3846)
1 parent 7c1900f commit 197dcc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cli/src/rust_template.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,9 @@ impl TestTemplate {
639639
if js {
640640
format!("{pkg_manager_exec_cmd} mocha -t 1000000 tests/")
641641
} else {
642-
format!("{pkg_manager_exec_cmd} ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts")
642+
format!(
643+
r#"{pkg_manager_exec_cmd} ts-mocha -p ./tsconfig.json -t 1000000 "tests/**/*.ts""#
644+
)
643645
}
644646
}
645647
Self::Jest => {

0 commit comments

Comments
 (0)