From 3a8aea1aa43d16d863aa0ecd6603570a429c625a Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 8 Feb 2021 16:28:18 +0000 Subject: [PATCH] Fixed tests --- packages/app-cli/tests/services/plugins/api/JoplinWorkspace.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/app-cli/tests/services/plugins/api/JoplinWorkspace.ts b/packages/app-cli/tests/services/plugins/api/JoplinWorkspace.ts index f835f8f8bd..e5b6a71375 100644 --- a/packages/app-cli/tests/services/plugins/api/JoplinWorkspace.ts +++ b/packages/app-cli/tests/services/plugins/api/JoplinWorkspace.ts @@ -1,5 +1,4 @@ import Setting from '@joplin/lib/models/Setting'; -import PluginService from '@joplin/lib/services/plugins/PluginService'; import { newPluginService, newPluginScript, setupDatabaseAndSynchronizer, switchClient, afterEachCleanUp } from '../../../test-utils'; import Note from '@joplin/lib/models/Note'; import Folder from '@joplin/lib/models/Folder'; @@ -59,7 +58,7 @@ describe('JoplinWorkspace', () => { }); test('should return the selected folder', async () => { - const service = new newPluginService() as PluginService; + const service = newPluginService(); const pluginScript = newPluginScript(` joplin.plugins.register({