Skip to content

Commit

Permalink
changed frontend UserService.test.js to fail to test GitHub actions w…
Browse files Browse the repository at this point in the history
…orkflow

Signed-off-by: Harmeet Matharoo <hmjatt@gmail.com>
  • Loading branch information
hmjatt committed Feb 15, 2024
1 parent ae2362d commit cba11c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/services/tests/UserService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('UserService Tests', () => {
axios.post.mockRejectedValue({
response: {
status: 400, // Including the status to reflect a bad request
data: 'An account with these credentials already exists.' // Ensuring the message matches exactly
data: 'An account with these credentials already exist' // Ensuring the message matches exactly
}
});

Expand Down

0 comments on commit cba11c7

Please sign in to comment.