Skip to content

Commit ec81fba

Browse files
committed
Fix linting
1 parent 4dcf944 commit ec81fba

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/filterable_attributes.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ describe.each([{ permission: 'Master' }, { permission: 'Private' }])(
5555
const task = await client
5656
.index(index.uid)
5757
.updateFilterableAttributes(null)
58-
expect(task).toHaveProperty('uid', expect.any(Number))
5958
await client.index(index.uid).waitForTask(task.taskUid)
6059

6160
const response: string[] = await client
@@ -68,7 +67,6 @@ describe.each([{ permission: 'Master' }, { permission: 'Private' }])(
6867
test(`${permission} key: Reset attributes for filtering`, async () => {
6968
const client = await getClient(permission)
7069
const task = await client.index(index.uid).resetFilterableAttributes()
71-
expect(task).toHaveProperty('uid', expect.any(Number))
7270
await client.index(index.uid).waitForTask(task.taskUid)
7371

7472
const response: string[] = await client

tests/searchable_attributes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ErrorStatusCode, EnqueuedTask } from '../src/types'
1+
import { ErrorStatusCode } from '../src/types'
22
import {
33
clearAllIndexes,
44
config,

0 commit comments

Comments
 (0)