1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Fixed tests

This commit is contained in:
Laurent Cozic 2021-02-08 16:28:18 +00:00
parent f0943f7b67
commit 3a8aea1aa4

View File

@ -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({