File tree 1 file changed +6
-4
lines changed
site/src/pages/WorkspacePage 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,12 @@ const renderWorkspacePage = async () => {
42
42
} ;
43
43
44
44
/**
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.
49
51
*/
50
52
const testButton = async ( label : string , actionMock : jest . SpyInstance ) => {
51
53
const user = userEvent . setup ( ) ;
You can’t perform that action at this time.
0 commit comments