Skip to content

Commit

Permalink
NAS-129988: PR update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKarpov98 committed Jul 17, 2024
1 parent ea26053 commit b2fc03c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('UiSearchDirectivesService', () => {
});

it('should check register and unregister', () => {
const directive = new UiSearchDirective(renderer, elementRef, spectator.service);
const directive = new UiSearchDirective(renderer, elementRef, spectator.service, {} as Window);
directive.config = { anchor: 'anchor' };

spectator.service.register(directive);
Expand All @@ -36,7 +36,7 @@ describe('UiSearchDirectivesService', () => {
});

it('should check get method', () => {
const directive = new UiSearchDirective(renderer, elementRef, spectator.service);
const directive = new UiSearchDirective(renderer, elementRef, spectator.service, {} as Window);
directive.config = { anchor: 'anchor' };

spectator.service.register(directive);
Expand All @@ -50,7 +50,7 @@ describe('UiSearchDirectivesService', () => {
});

it('should check directiveAdded$ BehaviorSubject', () => {
const directive = new UiSearchDirective(renderer, elementRef, spectator.service);
const directive = new UiSearchDirective(renderer, elementRef, spectator.service, {} as Window);
directive.config = { anchor: 'anchor' };

spectator.service.register(directive);
Expand All @@ -66,7 +66,7 @@ describe('UiSearchDirectivesService', () => {
});

it('should check size method', () => {
const directive = new UiSearchDirective(renderer, elementRef, spectator.service);
const directive = new UiSearchDirective(renderer, elementRef, spectator.service, {} as Window);
directive.config = { anchor: 'anchor' };

spectator.service.register(directive);
Expand Down

0 comments on commit b2fc03c

Please sign in to comment.