This commit is contained in:
nasir@endelospay.com
2025-07-12 01:59:18 +05:00
parent 83ae2dfb68
commit 728ff90ce5
17 changed files with 1522 additions and 596 deletions

View File

@@ -189,11 +189,9 @@ async function runQuickTests() {
console.log("=".repeat(50));
const essentialSuites = ["public", "provider", "patient"];
const pattern = essentialSuites
.map((suite) => testSuites[suite].pattern)
.join("|");
const patterns = essentialSuites.map((suite) => testSuites[suite].pattern);
const jestArgs = ["--testPathPattern", `(${pattern})`];
const jestArgs = ["--testPathPattern", `"(${patterns.join("|")})"`];
try {
const exitCode = await executeJest(jestArgs);