Skip to content

Commit 97466e4

Browse files
[FSSDK-11197] ts-ignore removal
1 parent 8ceab0b commit 97466e4

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

lib/event_processor/event_builder/log_event.spec.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ describe('buildConversionEventV1', () => {
251251
},
252252

253253
tags: {
254-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
255-
// @ts-ignore
256254
foo: 'bar',
257255
value: '123',
258256
revenue: '1000',
@@ -498,8 +496,6 @@ describe('buildConversionEventV1', () => {
498496
},
499497

500498
tags: {
501-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
502-
// @ts-ignore
503499
foo: 'bar',
504500
value: 0,
505501
revenue: 0,
@@ -586,8 +582,6 @@ describe('buildConversionEventV1', () => {
586582
},
587583

588584
tags: {
589-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
590-
// @ts-ignore
591585
foo: 'bar',
592586
value: '123',
593587
revenue: '1000',
@@ -671,8 +665,6 @@ describe('makeEventBatch', () => {
671665
},
672666

673667
tags: {
674-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
675-
// @ts-ignore
676668
foo: 'bar',
677669
value: '123',
678670
revenue: '1000',

lib/utils/event_tag_utils/index.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ describe('getRevenueValue', () => {
5050
});
5151

5252
it('should return null if the revenue value is not present in the event tags', () => {
53-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
54-
// @ts-ignore
5553
const parsedRevenueValue = eventTagUtils.getRevenueValue({ not_revenue: '1337' }, logger);
5654

5755
expect(parsedRevenueValue).toBe(null);
@@ -83,8 +81,6 @@ describe('getEventValue', () => {
8381
});
8482

8583
it('should return null if the value is not present in the event tags', () => {
86-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
87-
// @ts-ignore
8884
const parsedNumericValue = eventTagUtils.getEventValue({ not_value: '13.37' }, logger);
8985

9086
expect(parsedNumericValue).toBe(null);

0 commit comments

Comments
 (0)