Skip to content

Commit de273af

Browse files
ci: apply automated fixes
1 parent bce4188 commit de273af

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

packages/table-core/tests/unit/fns/filterFns.test.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,21 +185,33 @@ describe('Filter Functions', () => {
185185
const row = mockRows[0]!
186186
const columnId = 'firstName'
187187
const filterValue = 'John'
188-
const result = filterFn_equalsStringSensitive(row as any, columnId, filterValue)
188+
const result = filterFn_equalsStringSensitive(
189+
row as any,
190+
columnId,
191+
filterValue,
192+
)
189193
expect(result).toBe(true)
190194
})
191195
it('should not match case-insensitive exact strings', () => {
192196
const row = mockRows[0]!
193197
const columnId = 'firstName'
194198
const filterValue = 'john'
195-
const result = filterFn_equalsStringSensitive(row as any, columnId, filterValue)
199+
const result = filterFn_equalsStringSensitive(
200+
row as any,
201+
columnId,
202+
filterValue,
203+
)
196204
expect(result).toBe(false)
197205
})
198206
it('should not match partial strings', () => {
199207
const row = mockRows[0]!
200208
const columnId = 'firstName'
201209
const filterValue = 'ohn'
202-
const result = filterFn_equalsStringSensitive(row as any, columnId, filterValue)
210+
const result = filterFn_equalsStringSensitive(
211+
row as any,
212+
columnId,
213+
filterValue,
214+
)
203215
expect(result).toBe(false)
204216
})
205217
})

0 commit comments

Comments
 (0)