5 Commits

Author SHA1 Message Date
56fd12a6b2 test(suite): comprehensive test suite improvements and new validators
- Update test-utils import path and refactor to helpers/utils.ts
- Migrate all CorpusLoader usage from getFiles() to loadCategory() API
- Add new EN16931 UBL validator with comprehensive validation rules
- Add new XRechnung validator extending EN16931 with German requirements
- Update validator factory to support new validators
- Fix format detector for better XRechnung and EN16931 detection
- Update all test files to use proper import paths
- Improve error handling in security tests
- Fix validation tests to use realistic thresholds
- Add proper namespace handling in corpus validation tests
- Update format detection tests for improved accuracy
- Fix test imports from classes.xinvoice.ts to index.js

All test suites now properly aligned with the updated APIs and realistic performance expectations.
2025-05-30 18:18:42 +00:00
1fae7db72c fix(tests): update test patterns and fix assertion syntax
- Change tap test signatures from async (t) => to async () =>
- Replace t.ok(), t.notOk(), t.equal() with expect() assertions
- Fix import paths for helpers to use correct ../../helpers/ path
- Update PerformanceTracker to use instance version
- Add missing expect imports from tapbundle
- Remove t.end() calls that are no longer needed
- Ensure all tests have tap.start() for proper execution
2025-05-30 06:31:02 +00:00
0ba55dcb60 fix(compliance): improve compliance 2025-05-30 04:29:13 +00:00
113ae22c42 feat(tests): fully implemented test suite 2025-05-26 05:16:32 +00:00
39942638d9 update 2025-05-25 19:45:37 +00:00