Skip to content

Commit

Permalink
Remove .only usage
Browse files Browse the repository at this point in the history
  • Loading branch information
erikguntner committed Apr 18, 2024
1 parent f01cfc9 commit f0436f1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/cypress/e2e/create-new-password.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('Forgot Password', () => {
}).as('user');
});

it.only('should let the user reset their password', () => {
it('should let the user reset their password', () => {
const userId = faker.string.uuid();
const sessionId = faker.string.uuid();
const password = 'Test1234!';
Expand Down
52 changes: 44 additions & 8 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.30.1",
"husky": "^8.0.1",
"jsdom": "^20.0.0",
Expand Down
3 changes: 2 additions & 1 deletion app/src/views/__tests__/ForgotPasswordCode.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ describe('ForgotPasswordCode page', () => {
expect(screen.getByTestId(/success/i)).toBeInTheDocument();
expect(screen.getByRole('alert')).toBeInTheDocument();
});
test.only('display an error message', async () => {

test('display an error message', async () => {
server.use(
http.post(`/api/auth/forgot_password`, () => {
return HttpResponse.json(
Expand Down

0 comments on commit f0436f1

Please sign in to comment.