Start fixing tests

This commit is contained in:
Andras Schmelczer 2026-01-24 11:00:55 +00:00
parent 727b6b7ed5
commit 7fcd0f0bfa
19 changed files with 210 additions and 218 deletions

View file

@ -19,4 +19,4 @@
"webpack": "^5.103.0",
"webpack-cli": "^6.0.1"
}
}
}

View file

@ -80,10 +80,10 @@ async function main(): Promise<void> {
if (!result.success) {
allPassed = false;
logger.error(`\n✗ FAILED: ${test.name}`);
logger.error(`✗ FAILED: ${test.name}`);
logger.error(`Error: ${result.error}`);
} else {
logger.info(`\n✓ PASSED: ${test.name} (${result.duration}ms)`);
logger.info(`✓ PASSED: ${test.name} (${result.duration}ms)`);
}
}
} finally {

View file

@ -46,12 +46,11 @@ export class TestRunner {
for (let i = 0; i < test.steps.length; i++) {
const step = test.steps[i];
this.logger.info(
`\nStep ${i + 1}/${test.steps.length}: ${JSON.stringify(step)}`
`Step ${i + 1}/${test.steps.length}: ${JSON.stringify(step)}`
);
await this.executeStep(step);
}
// Cleanup
await this.cleanup();
const duration = Date.now() - startTime;