Skip to content

Commit

Permalink
Possibly undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Dec 28, 2023
1 parent 41a277b commit 207c820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('useAuth', () => {

test('user.name', () => {
const { result } = testHook();
expect(result.current.user.name).toBe('Test Name');
expect(result.current.user?.name).toBe('Test Name');
});

test('roleAssignments', () => {
Expand Down

0 comments on commit 207c820

Please sign in to comment.