Skip to content

Commit

Permalink
Address ut failed
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Jun 7, 2024
1 parent adc2b54 commit 4caf213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ describe('WorkspaceOverview', () => {
const workspaceService = createWorkspacesSetupContractMockWithValue(workspaceObject);
const { getByText } = render(WorkspaceOverviewPage({ workspacesService: workspaceService }));
fireEvent.click(getByText('Settings'));
expect(screen.queryByText('Workspace Details')).not.toBeNull();
expect(screen.queryByText('Enter Details')).not.toBeNull();
// title is hidden
expect(screen.queryByText('Update Workspace')).toBeNull();
});
Expand Down

0 comments on commit 4caf213

Please sign in to comment.