Skip to content

Commit

Permalink
fix: fix ts error introduced with prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pixtron committed Aug 9, 2022
1 parent 7e20b31 commit 709e3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/GoTrueClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe('GoTrueClient', () => {
// vreify the deferred has been reset and successive calls can be made
// @ts-expect-error 'Allow access to private _callRefreshToken()'
const { session: session3, error: error3 } = await authWithSession._callRefreshToken(
session?.refresh_token
session!.refresh_token
)

expect(error3).toBeNull()
Expand Down Expand Up @@ -191,7 +191,7 @@ describe('GoTrueClient', () => {
// vreify the deferred has been reset and successive calls can be made
// @ts-expect-error 'Allow access to private _callRefreshToken()'
const { session: session3, error: error3 } = await authWithSession._callRefreshToken(
session?.refresh_token
session!.refresh_token
)

expect(error3).toBeNull()
Expand Down

0 comments on commit 709e3f4

Please sign in to comment.