mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
Fixhancement: more log viewer improvements (#11426)
This commit is contained in:
parent
a96db50b0a
commit
93338a0a82
5 changed files with 64 additions and 26 deletions
|
|
@ -145,6 +145,10 @@ HTMLCanvasElement.prototype.getContext = <
|
|||
typeof HTMLCanvasElement.prototype.getContext
|
||||
>jest.fn()
|
||||
|
||||
if (!HTMLElement.prototype.scrollTo) {
|
||||
HTMLElement.prototype.scrollTo = jest.fn()
|
||||
}
|
||||
|
||||
jest.mock('uuid', () => ({
|
||||
v4: jest.fn(() =>
|
||||
'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (char: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue