Skip to content

Commit a42a9af

Browse files
committed
chore: reformat after prettier upgrade
1 parent 91f1d7d commit a42a9af

File tree

2 files changed

+27
-31
lines changed

2 files changed

+27
-31
lines changed

projects/tracker/src/lib/directives/matomo-track-click.directive.spec.ts

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,17 @@ describe('MatomoTrackClickDirective', () => {
3131
let fixture: ComponentFixture<HostComponent>;
3232
let tracker: jasmine.SpyObj<MatomoTracker>;
3333

34-
beforeEach(
35-
waitForAsync(() => {
36-
TestBed.configureTestingModule({
37-
providers: [
38-
{
39-
provide: MatomoTracker,
40-
useValue: jasmine.createSpyObj<MatomoTracker>('MatomoTracker', ['trackEvent']),
41-
},
42-
],
43-
declarations: [HostComponent, MatomoTrackClickDirective],
44-
}).compileComponents();
45-
})
46-
);
34+
beforeEach(waitForAsync(() => {
35+
TestBed.configureTestingModule({
36+
providers: [
37+
{
38+
provide: MatomoTracker,
39+
useValue: jasmine.createSpyObj<MatomoTracker>('MatomoTracker', ['trackEvent']),
40+
},
41+
],
42+
declarations: [HostComponent, MatomoTrackClickDirective],
43+
}).compileComponents();
44+
}));
4745

4846
beforeEach(() => {
4947
tracker = TestBed.inject(MatomoTracker) as jasmine.SpyObj<MatomoTracker>;

projects/tracker/src/lib/directives/matomo-tracker.directive.spec.ts

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,22 @@ class HostWithCustomHandler2Component {
8989
describe('MatomoTrackerDirective', () => {
9090
let tracker: jasmine.SpyObj<MatomoTracker>;
9191

92-
beforeEach(
93-
waitForAsync(() => {
94-
TestBed.configureTestingModule({
95-
providers: [
96-
{
97-
provide: MatomoTracker,
98-
useValue: jasmine.createSpyObj<MatomoTracker>('MatomoTracker', ['trackEvent']),
99-
},
100-
],
101-
declarations: [
102-
HostWithInputEventsComponent,
103-
MatomoTrackerDirective,
104-
HostWithCustomHandler1Component,
105-
HostWithCustomHandler2Component,
106-
],
107-
}).compileComponents();
108-
})
109-
);
92+
beforeEach(waitForAsync(() => {
93+
TestBed.configureTestingModule({
94+
providers: [
95+
{
96+
provide: MatomoTracker,
97+
useValue: jasmine.createSpyObj<MatomoTracker>('MatomoTracker', ['trackEvent']),
98+
},
99+
],
100+
declarations: [
101+
HostWithInputEventsComponent,
102+
MatomoTrackerDirective,
103+
HostWithCustomHandler1Component,
104+
HostWithCustomHandler2Component,
105+
],
106+
}).compileComponents();
107+
}));
110108

111109
beforeEach(() => {
112110
tracker = TestBed.inject(MatomoTracker) as jasmine.SpyObj<MatomoTracker>;

0 commit comments

Comments
 (0)