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

Commit6bfdccd

Browse files
authored
refactor: rm eslint-disable CreateWorkspacePage (#4865)
1 parent3fc3b9f commit6bfdccd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎site/src/pages/CreateWorkspacePage/CreateWorkspacePage.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 -- TODO figure out why this is*/
21
import{fireEvent,screen,waitFor}from"@testing-library/react"
32
importuserEventfrom"@testing-library/user-event"
43
import*asAPIfrom"api/api"
@@ -49,7 +48,7 @@ describe("CreateWorkspacePage", () => {
4948
})
5049

5150
constsubmitButton=screen.getByText(createWorkspaceText)
52-
userEvent.click(submitButton)
51+
awaituserEvent.click(submitButton)
5352

5453
awaitwaitFor(()=>
5554
expect(API.createWorkspace).toBeCalledWith(
@@ -62,4 +61,3 @@ describe("CreateWorkspacePage", () => {
6261
)
6362
})
6463
})
65-
/* eslint-enable @typescript-eslint/no-floating-promises -- TODO figure out why this is*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp