From 1fca7c6623d059630f374a9e70947e85e723fd5c Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 12 Nov 2024 19:08:32 +0200 Subject: [PATCH] fix test --- .../components/terms-of-use/terms-of-use.component.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/developer-tools/components/terms-of-use/terms-of-use.component.spec.ts b/src/app/developer-tools/components/terms-of-use/terms-of-use.component.spec.ts index d89be9998..5830ed280 100644 --- a/src/app/developer-tools/components/terms-of-use/terms-of-use.component.spec.ts +++ b/src/app/developer-tools/components/terms-of-use/terms-of-use.component.spec.ts @@ -7,6 +7,8 @@ import { RecordService } from 'src/app/core/record/record.service' import { of } from 'rxjs' import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core' +import { MatLegacyDialog } from '@angular/material/legacy-dialog' +import { useAnimation } from '@angular/animations' describe('TermsOfUseComponent', () => { let component: TermsOfUseComponent @@ -19,6 +21,7 @@ describe('TermsOfUseComponent', () => { { provide: DeveloperToolsService, useValue: {} }, { provide: PlatformInfoService, useValue: {} }, { provide: RecordService, useValue: { getRecord: () => of() } }, + { provide: MatLegacyDialog, useValue: {} }, ], schemas: [CUSTOM_ELEMENTS_SCHEMA], }).compileComponents()