Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite37ef3a

Browse files
committed
fix: clean up UsersPage.test.tsx
1 parentffd7a91 commite37ef3a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎site/src/pages/UsersPage/UsersPage.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/no-floating-promises */
21
import{fireEvent,screen,waitFor,within}from"@testing-library/react"
32
importuserEventfrom"@testing-library/user-event"
43
import{i18n}from"i18n"
@@ -474,8 +473,7 @@ describe("UsersPage", () => {
474473
}),
475474
)
476475

477-
// eslint-disable-next-line @typescript-eslint/no-empty-function
478-
awaitupdateUserRole(()=>{},MockAuditorRole)
476+
awaitupdateUserRole(()=>null,MockAuditorRole)
479477

480478
// Check if the error message is displayed
481479
consterrorMessage=awaitscreen.findByText("message from the backend")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp