Fix documentation test: use missingFields instead of errors/warnings
This commit is contained in:
@@ -27,7 +27,7 @@ describe('Documentation Validation', () => {
|
||||
|
||||
const result = validateDocumentation(transaction);
|
||||
expect(result.passed).toBe(true);
|
||||
expect(result.warnings || []).toHaveLength(0);
|
||||
expect(result.missingFields).toHaveLength(0);
|
||||
});
|
||||
|
||||
it('should fail validation for missing tax ID', () => {
|
||||
|
||||
Reference in New Issue
Block a user