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

Commit02e7e47

Browse files
committed
No need for extra routes with a bit of ?
1 parent6b42506 commit02e7e47

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎site/src/pages/ManagementSettingsPage/OrganizationSettingsPage.test.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ jest.spyOn(console, "error").mockImplementation(() => {});
1616
constrenderRootPage=async()=>{
1717
renderWithManagementSettingsLayout(<OrganizationSettingsPage/>,{
1818
route:"/organizations",
19-
path:"/organizations",
20-
extraRoutes:[
21-
{
22-
path:"/organizations/:organization",
23-
element:<OrganizationSettingsPage/>,
24-
},
25-
],
19+
path:"/organizations/:organization?",
2620
});
2721
awaitwaitForLoaderToBeRemoved();
2822
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp