Proyecto App Windows

This commit is contained in:
2026-05-03 23:36:48 +02:00
commit 96793b2e1e
1248 changed files with 189750 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone/index.mjs';
Object.defineProperty(globalThis, 'jest', {
configurable: true,
value: import.meta.jest,
});
if (typeof (globalThis as { IDBFactory?: unknown }).IDBFactory === 'undefined') {
Object.defineProperty(globalThis, 'IDBFactory', {
configurable: true,
value: class MockIDBFactory {},
});
}
if (!Element.prototype.animate) {
Element.prototype.animate = () =>
({
cancel: () => undefined,
finished: Promise.resolve(),
}) as unknown as Animation;
}
setupZoneTestEnv({
errorOnUnknownElements: true,
errorOnUnknownProperties: true,
});