Skip to content

Commit

Permalink
- linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Sep 5, 2024
1 parent 87c0dd9 commit 9c7630b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/faustwp-core/tests/hooks/useAuth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ describe('useAuth hook', () => {
it('Provides the proper login url with local strategy', async () => {
const { result, waitForNextUpdate } = renderHook(() =>
useAuth({
strategy: 'local',
loginPageUrl: '/login',
strategy: "local",
loginPageUrl: "/login"
}),
);
await waitForNextUpdate();
Expand All @@ -112,7 +112,7 @@ describe('useAuth hook', () => {
it('ensures strategy local requires a "loginPageUrl"', () => {
expect(() =>
useAuth({
strategy: 'local',
strategy: "local"
} as any),
).toThrowError('useAuth: Local strategies must specify the "loginPageUrl"');
});
Expand Down

0 comments on commit 9c7630b

Please sign in to comment.