Skip to content

Commit

Permalink
test not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mprew97 committed Sep 11, 2024
1 parent 1761b43 commit f7fe003
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/authorization/authorization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -671,19 +671,6 @@ describe('User Identification', () => {
expect(response.config.params.email).toBeUndefined();
expect(response.config.params.userId).toBe('999');
});

it('should try /users/update 0 times if request to create a user fails', async () => {
mockRequest.onPost('/users/update').reply(400, {});

const { setUserID } = initialize('123');
await setUserID('999');

expect(
mockRequest.history.post.filter(
(e: any) => !!e.url?.match(/users\/update/gim)
).length
).toBe(1);
});
});
});

Expand Down

0 comments on commit f7fe003

Please sign in to comment.