fix: resolve TypeScript compilation errors in test files
- Add explicit type annotations for properties arrays in config validator tests - Update ValidationResult mock to include required visibleProperties and hiddenProperties - Fix all TypeScript compilation errors found in CI/CD pipeline All tests passing with 85.36% coverage. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,9 @@ vi.mock('@/services/enhanced-config-validator', () => ({
|
||||
valid: true,
|
||||
errors: [],
|
||||
warnings: [],
|
||||
suggestions: []
|
||||
suggestions: [],
|
||||
visibleProperties: [],
|
||||
hiddenProperties: []
|
||||
}),
|
||||
validateWithMode: vi.fn().mockReturnValue({
|
||||
valid: true,
|
||||
@@ -88,7 +90,9 @@ describe('WorkflowValidator - Edge Cases', () => {
|
||||
valid: true,
|
||||
errors: [],
|
||||
warnings: [],
|
||||
suggestions: []
|
||||
suggestions: [],
|
||||
visibleProperties: [],
|
||||
hiddenProperties: []
|
||||
});
|
||||
|
||||
// Create validator instance with mocked dependencies
|
||||
|
||||
Reference in New Issue
Block a user