This commit is contained in:
2026-08-14 14:27:03 +08:00
parent 724848feb6
commit a81af4a664
64 changed files with 961 additions and 176 deletions
@@ -79,7 +79,7 @@ describe('GlobalSmartLoadingView', () => {
it('filters candidates by an active name-only customer selector and accountId', () => {
const source = readFileSync(resolve(process.cwd(), 'src/modules/container-loading/pages/GlobalSmartLoadingView.vue'), 'utf8')
expect(source).toContain("listPlatformTenants({ page: 1, size: 200, status: 'ACTIVE' })")
expect(source).toContain("customer.legalName?.trim() || customer.tenantName")
expect(source).toContain("label: customer.tenantName")
expect(source).toContain('item.accountId !== customerId')
expect(source).not.toContain('customer.tenantCode')
})