Skip to content

Commit 2dd7c20

Browse files
committed
style fix
1 parent d4832e2 commit 2dd7c20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/token.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ describe.each([{ permission: 'Admin' }])(
160160
const [_, payload] = token.split('.')
161161
const searchClient = new MeiliSearch({ host: HOST, apiKey: token })
162162

163-
expect(JSON.parse(decode64(payload)).exp).toEqual(Math.floor(date.getTime() / 1000))
163+
expect(JSON.parse(decode64(payload)).exp).toEqual(
164+
Math.floor(date.getTime() / 1000)
165+
)
164166
expect(searchClient.index(UID).search()).resolves.not.toBeUndefined()
165167
})
166168

0 commit comments

Comments
 (0)