Skip to content

Commit d635ecd

Browse files
committed
docs: clean up formatting for WorkspacePage.test comments
1 parent 0f91d44 commit d635ecd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

site/src/pages/WorkspacePage/WorkspacePage.test.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ const renderWorkspacePage = async () => {
4242
};
4343

4444
/**
45-
* Requests and responses related to workspace status are unrelated, so we can't test in the usual way.
46-
* Instead, test that button clicks produce the correct requests and that responses produce the correct UI.
47-
* We don't need to test the UI exhaustively because Storybook does that; just enough to prove that the
48-
* workspaceStatus was calculated correctly.
45+
* Requests and responses related to workspace status are unrelated, so we can't
46+
* test in the usual way. Instead, test that button clicks produce the correct
47+
* requests and that responses produce the correct UI.
48+
*
49+
* We don't need to test the UI exhaustively because Storybook does that; just
50+
* enough to prove that the workspaceStatus was calculated correctly.
4951
*/
5052
const testButton = async (label: string, actionMock: jest.SpyInstance) => {
5153
const user = userEvent.setup();

0 commit comments

Comments
 (0)