Refactor infra tests, clean E2E step suites, and fix TS in tests
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user