Release/test 合并上生产 #2

Merged
admin merged 736 commits from release/test into main 2026-09-17 11:50:56 +08:00
Showing only changes of commit 0b9d328bdf - Show all commits
@@ -219,13 +219,12 @@ describe('InboundCodeRelationshipDialog contract', () => {
const root = process.cwd()
expect(existsSync(resolve(root, 'src/shared/components/InboundCodeRelationshipDrawer.vue'))).toBe(false)
expect(existsSync(resolve(root, 'src/shared/components/InboundCodeRelationshipDrawer.test.ts'))).toBe(false)
const consumerFiles = [
'src/modules/unified-orders/pages/UnifiedOrdersView.vue',
const dialogConsumerFiles = [
'src/modules/inbounds/pages/InboundOrdersView.vue',
'src/modules/inbounds/components/InboundTaskList.vue',
'src/modules/overseas-warehouse/pages/InventoryTransactionsView.vue',
]
const consumerSources = consumerFiles.map((file) => readFileSync(resolve(root, file), 'utf8'))
const consumerSources = dialogConsumerFiles.map((file) => readFileSync(resolve(root, file), 'utf8'))
const consumers = consumerSources.join('\n')
expect(consumers).not.toContain('InboundCodeRelationshipDrawer')
expect(consumers).not.toMatch(/relationshipOpen|relationshipInboundCode|inboundRelationshipOpen/)
@@ -233,5 +232,9 @@ describe('InboundCodeRelationshipDialog contract', () => {
expect(consumer).toContain("import InboundCodeRelationshipDialog from '@/shared/components/InboundCodeRelationshipDialog.vue'")
expect(consumer).toContain('<InboundCodeRelationshipDialog')
})
const unifiedOrders = readFileSync(resolve(root, 'src/modules/unified-orders/pages/UnifiedOrdersView.vue'), 'utf8')
expect(unifiedOrders).not.toContain('InboundCodeRelationshipDrawer')
expect(unifiedOrders).not.toContain('InboundCodeRelationshipDialog')
})
})