Skip to content

Commit

Permalink
chore: format with biome
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianvitterso committed Oct 22, 2024
1 parent f3e0a38 commit 7d930ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/jestSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ beforeEach(() => {
const location = new URL('https://www.example.com')
location.assign = jest.fn()
window.location = location
window.open = jest.fn();
window.open = jest.fn()
})
4 changes: 2 additions & 2 deletions tests/login.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test('First page visit should redirect to auth provider for login', async () =>

test('First page visit should popup to auth provider for login', async () => {
render(
<AuthProvider authConfig={{...authConfig, loginMethod: 'popup'}}>
<AuthProvider authConfig={{ ...authConfig, loginMethod: 'popup' }}>
<AuthConsumer />
</AuthProvider>
)
Expand All @@ -33,7 +33,7 @@ test('First page visit should popup to auth provider for login', async () => {
/^myAuthEndpoint\?response_type=code&client_id=myClientID&redirect_uri=http%3A%2F%2Flocalhost%2F&code_challenge=.{43}&code_challenge_method=S256&scope=someScope\+openid&state=testState/gm
),
'loginPopup',
"popup width=600 height=600"
'popup width=600 height=600'
)
})
})
Expand Down

0 comments on commit 7d930ba

Please sign in to comment.