Skip to content

Commit 877d593

Browse files
CopilotMikeShi42
andcommitted
fix: Fix lint errors in test files (import sort and prettier formatting)
Co-authored-by: MikeShi42 <2781687+MikeShi42@users.noreply.github.com> Agent-Logs-Url: https://github.com/hyperdxio/hyperdx/sessions/ab5ad45b-67e6-4cfd-a733-43a9339cb9d2
1 parent efe39e3 commit 877d593

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/app/src/hooks/__tests__/useRowWhere.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ describe('processRowToWhereClause', () => {
335335
'event_created',
336336
{
337337
name: 'event_created',
338-
type: 'Nullable(DateTime64(3, \'UTC\'))',
338+
type: "Nullable(DateTime64(3, 'UTC'))",
339339
valueExpr: 'event_created',
340340
jsType: JSDataType.Date,
341341
},

packages/common-utils/src/clickhouse/__tests__/index.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
2-
extractColumnReferencesFromKey,
3-
convertCHDataTypeToJSType,
42
JSDataType,
3+
convertCHDataTypeToJSType,
4+
extractColumnReferencesFromKey,
55
} from '..';
66

77
describe('extractColumnReferencesFromKey', () => {
@@ -62,9 +62,9 @@ describe('convertCHDataTypeToJSType', () => {
6262
});
6363

6464
it('should handle LowCardinality(Nullable(String)) as String', () => {
65-
expect(
66-
convertCHDataTypeToJSType('LowCardinality(Nullable(String))'),
67-
).toBe(JSDataType.String);
65+
expect(convertCHDataTypeToJSType('LowCardinality(Nullable(String))')).toBe(
66+
JSDataType.String,
67+
);
6868
});
6969

7070
it('should handle DateTime64 as Date', () => {

0 commit comments

Comments
 (0)