Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
poovamraj committed Jan 31, 2023
1 parent 69199f9 commit 9c4407c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hooks/__tests__/use-auth0.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as React from 'react';
import {renderHook} from '@testing-library/react-hooks';
import Auth0Provider from '../auth0-provider';
import useAuth0 from '../use-auth0';
import LocalAuthenticationStrategy from '../../credentials-manager/la-policies';
import LocalAuthenticationStrategy from '../../credentials-manager/localAuthenticationStrategy';
import {act} from 'react-dom/test-utils';

function makeJwt(claims) {
Expand Down Expand Up @@ -180,8 +180,9 @@ describe('The useAuth0 hook', () => {
scope: 'custom-scope openid profile email',
audience: 'http://my-api',
customParam: '1234',
}, {
ephemeralSession: true
},
{},
);
});

Expand Down

0 comments on commit 9c4407c

Please sign in to comment.