Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Feb 5, 2024
1 parent e50b159 commit 7791fc1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions projects/kit/components/push/test/push.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Component, DebugElement} from '@angular/core';
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {NoopAnimationsModule} from '@angular/platform-browser/animations';
import {TuiIdService} from '@taiga-ui/cdk';
import {TuiRootModule} from '@taiga-ui/core';
import {TuiPageObject} from '@taiga-ui/testing';

Expand Down Expand Up @@ -31,13 +30,7 @@ describe('Push with TUI_PUSH_OPTIONS', () => {
TestBed.configureTestingModule({
imports: [NoopAnimationsModule, TuiRootModule, TuiPushModule],
declarations: [TestComponent],
providers: [
tuiPushOptionsProvider({heading}),
{
provide: TuiPushService,
useFactory: () => new TuiPushService(TestBed.inject(TuiIdService)),
},
],
providers: [tuiPushOptionsProvider({heading})],
});
await TestBed.compileComponents();
fixture = TestBed.createComponent(TestComponent);
Expand Down

0 comments on commit 7791fc1

Please sign in to comment.