优化
This commit is contained in:
@@ -67,4 +67,10 @@ describe('PortSchedulesView', () => {
|
||||
expect(source).toContain("prop: 'schedule.etaAt'")
|
||||
expect(source).toContain("prop: 'schedule.updatedAt'")
|
||||
})
|
||||
it('formats observed and update times and keeps the editor within the viewport', () => {
|
||||
expect(source).toContain('formatDateTime(row.schedule.observedAt)')
|
||||
expect(source).toContain('formatDateTime(row.schedule.updatedAt)')
|
||||
expect(source).toContain('width:min(820px,calc(100vw - 28px))!important')
|
||||
expect(source).toContain('max-height:90vh')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user