From 63856e7213c0e1d6a0b24ba05a97472fbe4acda0 Mon Sep 17 00:00:00 2001 From: tygao Date: Mon, 18 Mar 2024 18:28:00 +0800 Subject: [PATCH] test: update plugin test Signed-off-by: tygao --- src/plugins/workspace/public/plugin.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/workspace/public/plugin.test.ts b/src/plugins/workspace/public/plugin.test.ts index 2728b27b702a..2306c460b88d 100644 --- a/src/plugins/workspace/public/plugin.test.ts +++ b/src/plugins/workspace/public/plugin.test.ts @@ -23,7 +23,7 @@ describe('Workspace plugin', () => { const setupMock = getSetupMock(); const workspacePlugin = new WorkspacePlugin(); await workspacePlugin.setup(setupMock); - expect(WorkspaceClientMock).toBeCalledTimes(2); + expect(WorkspaceClientMock).toBeCalledTimes(1); }); it('#call savedObjectsClient.setCurrentWorkspace when current workspace id changed', async () => {