Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bidoubiwa committed Jun 15, 2022
1 parent 4dcf944 commit ec81fba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/filterable_attributes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ describe.each([{ permission: 'Master' }, { permission: 'Private' }])(
const task = await client
.index(index.uid)
.updateFilterableAttributes(null)
expect(task).toHaveProperty('uid', expect.any(Number))
await client.index(index.uid).waitForTask(task.taskUid)

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

const response: string[] = await client
Expand Down
2 changes: 1 addition & 1 deletion tests/searchable_attributes.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ErrorStatusCode, EnqueuedTask } from '../src/types'
import { ErrorStatusCode } from '../src/types'
import {
clearAllIndexes,
config,
Expand Down

0 comments on commit ec81fba

Please sign in to comment.