- First unit tests for Pax8SyncService, mocking postgresClient.query and pax8-company-matcher's matchPax8Companies (following pax8-company-matcher.test.ts's mocking discipline) - Asserts INSERT INTO pax8_orders / pax8_order_items with companyId bound into pax8_company_id and amountDue into line_total - Asserts resolveCostColumns' default (CONFIRM) mapping for both observed item types (subscription, one-time) per 12-02-SUMMARY.md - Asserts child-then-parent tombstone ordering (pax8_order_items before pax8_orders) - Asserts fullSync's entities include 'orders' and 'company_matches' No TDD gate — plan is autonomous without a plan-level `type: tdd` frontmatter; the implementation already existed from Tasks 1-2, so this follows the same single-commit test-addition pattern established by 12-02-SUMMARY.md's Task 2. |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| auth-client.ts | ||
| auth-utils.ts | ||
| auth.ts | ||
| bootstrap.ts | ||
| permissions.ts | ||
| status-registry.ts | ||
| utils.ts | ||