Fixhancement: truncate large logs, improve auto-scroll (#11239)

This commit is contained in:
shamoon
2025-11-01 07:49:52 -07:00
committed by GitHub
parent 4e64ca7ca6
commit a0d3527d20
7 changed files with 117 additions and 13 deletions

View File

@@ -49,4 +49,14 @@ describe('LogService', () => {
)
expect(req.request.method).toEqual('GET')
})
it('should pass limit param on logs get when provided', () => {
const id: string = 'mail'
const limit: number = 100
subscription = service.get(id, limit).subscribe()
const req = httpTestingController.expectOne(
`${environment.apiBaseUrl}${endpoint}/${id}/?limit=${limit}`
)
expect(req.request.method).toEqual('GET')
})
})