From 532e3f5821e1669d435436dcfcebb0ff09803fa4 Mon Sep 17 00:00:00 2001 From: MGJamJam Date: Wed, 17 Apr 2024 07:31:34 -0300 Subject: [PATCH] fix linting --- bitmovin-analytics-datasource/src/utils/dataUtils.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bitmovin-analytics-datasource/src/utils/dataUtils.test.ts b/bitmovin-analytics-datasource/src/utils/dataUtils.test.ts index 71fdc3f..ab37f0f 100644 --- a/bitmovin-analytics-datasource/src/utils/dataUtils.test.ts +++ b/bitmovin-analytics-datasource/src/utils/dataUtils.test.ts @@ -58,6 +58,7 @@ describe('padAndSortTimeSeries', () => { const data = [[0, 0]]; //act && assert + // @ts-ignore expect(() => padAndSortTimeSeries(data, 0, 0, 'INVALID INTERVAL')).toThrow( new Error('Query interval INVALID INTERVAL is not a valid interval.') ); @@ -133,6 +134,7 @@ describe('transformGroupedTimeSeriesData', () => { const endTimestamp = 1712919780000; //Friday, 12 April 2024 11:03:00 //act && assert + // @ts-ignore expect(() => transformGroupedTimeSeriesData(data, startTimestamp, endTimestamp, 'INVALID INTERVAL')).toThrow( new Error('Query interval INVALID INTERVAL is not a valid interval.') ); @@ -189,7 +191,9 @@ describe('transformSimpleTimeSeries', () => { const endTimestamp = 1712919780000; //Friday, 12 April 2024 11:03:00 //act && assert + // @ts-ignore expect(() => + // @ts-ignore transformSimpleTimeSeries(data, 'Impression Id', startTimestamp, endTimestamp, 'INVALID INTERVAL') ).toThrow(new Error('Query interval INVALID INTERVAL is not a valid interval.')); });