优化
This commit is contained in:
@@ -152,4 +152,11 @@ describe('OutboundDispatchesView', () => {
|
||||
expect(source).toContain('max-height: 90vh')
|
||||
expect(source).toContain('overflow-y: auto')
|
||||
})
|
||||
it('uses semantic bordered and filled business buttons instead of text links', () => {
|
||||
const source = readFileSync(resolve(process.cwd(), 'src/modules/outbound-dispatch/pages/OutboundDispatchesView.vue'), 'utf8')
|
||||
expect(source).toContain('size="small" type="primary" plain')
|
||||
expect(source).toContain('size="small" type="primary" @click="action')
|
||||
expect(source).toContain('size="small" type="danger" plain')
|
||||
expect(source).not.toContain("outbound-dispatch:view')\" link")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user