A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
setup-jest compatibility with v28
shamoone7f162e5e550
diff --git a/src-ui/setup-jest.ts b/src-ui/setup-jest.tsindex 5ada7e7c6..876946e2b 100644--- a/src-ui/setup-jest.ts+++ b/src-ui/setup-jest.ts@@ -1,4 +1,4 @@-import 'jest-preset-angular/setup-jest'+import { jest } from '@jest/globals'/* global mocks for jsdom */const mock = () => {@@ -26,5 +26,6 @@ Object.defineProperty(document.body.style, 'transform', {},})-/* output shorter and more meaningful Zone error stack traces */-// Error.stackTraceLimit = 2+HTMLCanvasElement.prototype.getContext = <+ typeof HTMLCanvasElement.prototype.getContext+>jest.fn()