feat(tests): fully implemented test suite

This commit is contained in:
2025-05-26 05:16:32 +00:00
parent 1d52ce1211
commit 113ae22c42
40 changed files with 3747 additions and 37 deletions

View File

@ -84,7 +84,7 @@ tap.test('VAL-10: Business Level Validation - Invoice Totals Consistency', async
const validationResult = await invoice.validate();
if (test.valid) {
expect(validationResult.valid).toBe(true);
expect(validationResult.valid).toBeTrue();
tools.log(`${test.name}: Valid business logic accepted`);
} else {
expect(validationResult.valid).toBe(false);
@ -343,7 +343,7 @@ tap.test('VAL-10: Business Level Validation - Business Rules Compliance', async
const validationResult = await invoice.validate();
if (test.valid) {
expect(validationResult.valid).toBe(true);
expect(validationResult.valid).toBeTrue();
tools.log(`${test.name}: Business rule compliance verified`);
} else {
expect(validationResult.valid).toBe(false);