This commit is contained in:
2026-08-12 17:34:06 +08:00
parent d2a246b122
commit 5b441626e9
8 changed files with 34 additions and 4 deletions
@@ -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')
})
})