mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor(tests): improve formatting of makeAggregateBy function for better readability
This commit is contained in:
@@ -236,7 +236,9 @@ describe("AnalyticsDatabaseService", () => {
|
||||
jest.restoreAllMocks();
|
||||
});
|
||||
|
||||
const makeAggregateBy: (overrides?: Record<string, unknown>) => any = (overrides: Record<string, unknown> = {}): any => {
|
||||
const makeAggregateBy: (overrides?: Record<string, unknown>) => any = (
|
||||
overrides: Record<string, unknown> = {},
|
||||
): any => {
|
||||
return {
|
||||
aggregationType: AggregationType.Sum,
|
||||
aggregateColumnName: "column_2",
|
||||
|
||||
Reference in New Issue
Block a user