Files
product_inventory/test_output.txt
Ben Miller 7cb469ccf9 feat: enforce SKU validity, use SKU as handle
This commit enforces proper SKU validation, uses the SKU as the Shopify handle, and implements ID-based product updates to allow renaming. It also extracts the IShop interface for TDD.
2025-12-25 04:54:55 -07:00

20 lines
5.4 KiB
Plaintext


> product_inventory@0.0.1 test
> jest src/ProductLogic.test.ts
----------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------
All files | 8.25 | 0.55 | 7.07 | 8.51 |
src | 8.15 | 0 | 6.66 | 8.33 |
Product.ts | 2.38 | 0 | 0 | 2.39 | 20-390,401-440
config.ts | 33.33 | 0 | 100 | 33.33 | 25-79
sheetUtils.ts | 25.86 | 0 | 33.33 | 26.78 | 6-9,18-20,29-30,39-40,48-49,57-59,71-80,84-85,93-104,108-113
shopifyApi.ts | 7.74 | 0 | 1.53 | 7.96 | 50-393,408-890,921-922,1048,1073-1112,1119,1124-1157,1167-1175,1189,1207-1208,1212-1213,1217-1218,1222-1227
src/services | 7 | 4.34 | 5 | 7.77 |
GASSpreadsheetService.ts | 2.38 | 0 | 0 | 2.56 | 5-82
MockSpreadsheetService.ts | 10.34 | 6.25 | 10 | 11.76 | 17-86,93-110
src/test | 25 | 0 | 33.33 | 25 |
MockShop.ts | 25 | 0 | 33.33 | 25 | 6-11,18-38
----------------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------------------