Skip to content

Commit

Permalink
Add browserAnimationModule import in test
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Mar 1, 2024
1 parent 8f211f4 commit f58c1d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scilog/src/app/overview/overview.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { RouterTestingModule } from '@angular/router/testing';
import {Pipe, PipeTransform} from '@angular/core';
import { Logbooks } from '@model/logbooks';
import { ResizedEvent } from '@shared/directives/resized.directive';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

@Pipe({name: 'logbookSearch'})
class LogbookSearchMockPipe implements PipeTransform {
Expand Down Expand Up @@ -47,7 +48,7 @@ describe('OverviewComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ OverviewComponent, LogbookSearchMockPipe],
imports: [MatDialogModule, RouterTestingModule],
imports: [MatDialogModule, RouterTestingModule, BrowserAnimationsModule],
providers: [
{ provide: MAT_DIALOG_DATA, useValue: {} },
{provide: LogbookInfoService, useValue: logbookInfoSpy},
Expand Down

0 comments on commit f58c1d6

Please sign in to comment.