Skip to content

Commit

Permalink
lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkabuki committed Sep 18, 2023
1 parent c3f4380 commit cba4d8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/desktop/src/rtl-tests/community.join.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ describe('User', () => {
await userEvent.click(createUsernameButton)

// Wait for the actions that updates the store
await act(async () => { })
await act(async () => {})

// Check if join/username modals are gone
expect(joinCommunityTitle).not.toBeVisible()
Expand Down Expand Up @@ -303,7 +303,7 @@ describe('User', () => {
await userEvent.click(createUsernameButton)

// Wait for the actions that updates the store
await act(async () => { })
await act(async () => {})

// Check if 'username taken' error message is visible
expect(createUsernameTitle).toBeVisible()
Expand Down Expand Up @@ -416,7 +416,7 @@ describe('User', () => {
await userEvent.click(createUsernameButton)

// Wait for the actions that updates the store
await act(async () => { })
await act(async () => {})

// Check if 'username taken' error message disappeared
expect(await screen.queryByText(ErrorMessages.USERNAME_TAKEN)).toBeNull()
Expand Down

0 comments on commit cba4d8c

Please sign in to comment.