Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MGJamJam committed Apr 17, 2024
1 parent 1667a3b commit 532e3f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bitmovin-analytics-datasource/src/utils/dataUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
);
Expand Down Expand Up @@ -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.')
);
Expand Down Expand Up @@ -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.'));
});
Expand Down

0 comments on commit 532e3f5

Please sign in to comment.