From f98b428d097dc07984a2e05ade1bf920d7b244a3 Mon Sep 17 00:00:00 2001 From: Qxisylolo Date: Thu, 1 Aug 2024 11:07:27 +0800 Subject: [PATCH] new update home_list_card and workspace_list_card,solve some errors, and write new testes Signed-off-by: Qxisylolo --- .../public/components/service_card/workspace_list_card.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/workspace/public/components/service_card/workspace_list_card.test.tsx b/src/plugins/workspace/public/components/service_card/workspace_list_card.test.tsx index 8e6c89209067..10efd2b6b591 100644 --- a/src/plugins/workspace/public/components/service_card/workspace_list_card.test.tsx +++ b/src/plugins/workspace/public/components/service_card/workspace_list_card.test.tsx @@ -64,7 +64,7 @@ describe('workspace list card render normally', () => { expect(getByText('bar')).toBeInTheDocument(); }); - it('should render create workspace buuton when is dashboard admin and navigate to create new workspace page when clicking on plus button', () => { + it('should render create workspace button when is dashboard admin and navigate to create new workspace page when clicking on plus button', () => { coreStart.application.capabilities = { ...coreStart.application.capabilities, dashboards: {