This commit is contained in:
2026-08-20 09:10:36 +08:00
parent 033b5df6b6
commit 508f76924e
58 changed files with 1790 additions and 628 deletions
@@ -19,10 +19,9 @@ describe('overseas master data routes', () => {
expect(overseasMasterDataRoutes.some((route) => route.path.includes('partner-warehouse'))).toBe(false)
})
it('documents but does not activate the suggested partner warehouse type', () => {
it('activates the confirmed partner type in the existing warehouse domain without a duplicate route', () => {
const apiSource = readFileSync(resolve(process.cwd(), 'src/modules/warehouses/api/platformWarehouses.ts'), 'utf8')
const gap = readFileSync(resolve(process.cwd(), 'src/modules/warehouses/PARTNER_WAREHOUSE_CONTRACT_GAP.md'), 'utf8')
expect(gap).toContain('OVERSEAS_PARTNER')
expect(apiSource).not.toContain("'OVERSEAS_PARTNER'")
expect(apiSource).toContain("'OVERSEAS_PARTNER'")
expect(overseasMasterDataRoutes.some((route) => route.path.includes('partner-warehouse'))).toBe(false)
})
})