Skip to content

Commit 927b92a

Browse files
committed
Changed types according to removal of void type
1 parent 3f8a84e commit 927b92a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/distinct_attribute_tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe.each([
5353
await client
5454
.getIndex(index.uid)
5555
.getDistinctAttribute()
56-
.then((response: string | void) => {
56+
.then((response: string | null) => {
5757
expect(response).toEqual(null)
5858
})
5959
})
@@ -70,7 +70,7 @@ describe.each([
7070
await client
7171
.getIndex(index.uid)
7272
.getDistinctAttribute()
73-
.then((response: string | void) => {
73+
.then((response: string | null) => {
7474
expect(response).toEqual(new_da)
7575
})
7676
})
@@ -86,7 +86,7 @@ describe.each([
8686
await client
8787
.getIndex(index.uid)
8888
.getDistinctAttribute()
89-
.then((response: string | void) => {
89+
.then((response: string | null) => {
9090
expect(response).toEqual(null)
9191
})
9292
})

0 commit comments

Comments
 (0)