Fix documentation test: use missingFields instead of errors/warnings

This commit is contained in:
defiQUG
2026-01-23 16:49:47 -08:00
parent 081d070983
commit ecd47a89f6

View File

@@ -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', () => {