Skip to content

Commit 6b988b4

Browse files
remove redundant const
1 parent 2f498a2 commit 6b988b4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/app/shared/metric/metric-loader/metric-loader.component.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ describe('MetricLoaderComponent', () => {
114114

115115
it('should return false for restricted metrics', fakeAsync(() => {
116116
const consentRejected = {...consentsAccepted, acknowledgement: false};
117-
const restrictedMetric = {...metric1Mock, metricType: 'altmetric'};
118-
component.metric = restrictedMetric;
117+
component.metric = {...metric1Mock, metricType: 'altmetric'};
119118
expect((component as any).getCanLoadScript(consentRejected)).toBeFalsy();
120119
}));
121120

0 commit comments

Comments
 (0)