Skip to content

Commit 4a818b3

Browse files
committed
Remove tasks type
1 parent f729cec commit 4a818b3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/task_tests.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
import {
2-
ErrorStatusCode,
3-
EnqueuedTask,
4-
Task,
5-
Tasks,
6-
TaskStatus,
7-
} from '../src/types'
1+
import { ErrorStatusCode, EnqueuedTask, Task, TaskStatus } from '../src/types'
82
import {
93
clearAllIndexes,
104
config,
@@ -103,7 +97,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Private' }])(
10397
const { uid } = await client.index(index.uid).addDocuments([{ id: 1 }])
10498
await client.waitForTask(uid)
10599

106-
const response: Tasks = await client.index(index.uid).getTasks()
100+
const response = await client.index(index.uid).getTasks()
107101

108102
expect(response.results[0]).toHaveProperty(
109103
'status',

0 commit comments

Comments
 (0)