Refactor infra tests, clean E2E step suites, and fix TS in tests

This commit is contained in:
2025-11-30 10:58:49 +01:00
parent af14526ae2
commit f8a1fbeb50
43 changed files with 883 additions and 2159 deletions

View File

@@ -32,7 +32,7 @@ describe('Electron Build Smoke Tests', () => {
// Split output into lines and check each line
const lines = buildOutput.split('\n');
lines.forEach(line => {
lines.forEach((line: string) => {
if (line.includes('has been externalized for browser compatibility')) {
foundErrors.push(line.trim());
}
@@ -84,7 +84,7 @@ describe('Electron Build Smoke Tests', () => {
const content = fs.readFileSync(fullPath, 'utf-8');
const lines = content.split('\n');
lines.forEach((line, index) => {
lines.forEach((line: string, index: number) => {
forbiddenPatterns.forEach(({ pattern, name }) => {
if (pattern.test(line)) {
violations.push({