Skip to content

Commit

Permalink
fix: default embedders for sub-route settings should be null
Browse files Browse the repository at this point in the history
  • Loading branch information
mdubus committed Jan 15, 2024
1 parent 53ef480 commit e598d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/embedders.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(
const client = await getClient(permission)
const response: Embedders = await client.index(index.uid).getEmbedders()

expect(response).toEqual({})
expect(response).toEqual(null)
})

test(`${permission} key: Update embedders with 'userProvided' source`, async () => {
Expand Down Expand Up @@ -135,7 +135,7 @@ describe.each([{ permission: 'Master' }, { permission: 'Admin' }])(

const response: Embedders = await client.index(index.uid).getEmbedders()

expect(response).toEqual({})
expect(response).toEqual(null)
})
}
)
Expand Down

0 comments on commit e598d94

Please sign in to comment.