@lisa.ai/agent 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,8 +46,9 @@ async function coverageCommand(command, modelProvider, attempt = 1, maxRetries =
|
|
|
46
46
|
let executionPassed = true;
|
|
47
47
|
try {
|
|
48
48
|
// 1. Run the test command which should ideally produce coverage-summary.json
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
// Use 'inherit' so that long-running test commands (like Angular/Karma) print their progress
|
|
50
|
+
// in real-time directly to the user's terminal instead of appearing frozen.
|
|
51
|
+
(0, child_process_1.execSync)(command, { encoding: 'utf-8', stdio: 'inherit' });
|
|
51
52
|
console.log(`\n✅ [Lisa.ai Coverage] Tests passed successfully on attempt ${attempt}.`);
|
|
52
53
|
}
|
|
53
54
|
catch (error) {
|