We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4832e2 commit 2dd7c20Copy full SHA for 2dd7c20
tests/token.test.ts
@@ -160,7 +160,9 @@ describe.each([{ permission: 'Admin' }])(
160
const [_, payload] = token.split('.')
161
const searchClient = new MeiliSearch({ host: HOST, apiKey: token })
162
163
- expect(JSON.parse(decode64(payload)).exp).toEqual(Math.floor(date.getTime() / 1000))
+ expect(JSON.parse(decode64(payload)).exp).toEqual(
164
+ Math.floor(date.getTime() / 1000)
165
+ )
166
expect(searchClient.index(UID).search()).resolves.not.toBeUndefined()
167
})
168
0 commit comments