You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
@ -6,7 +6,7 @@ import { createTempDir, supportDir } from '@joplin/lib/testing/test-utils';
|
||||
const newRepoApi = async (installMode: InstallMode, appVersion = '3.0.0'): Promise<RepositoryApi> => {
|
||||
const appInfo = { type: AppType.Mobile, version: appVersion };
|
||||
const repo = new RepositoryApi(`${supportDir}/pluginRepo`, await createTempDir(), appInfo, installMode);
|
||||
await repo.initialize();
|
||||
await repo.reinitialize();
|
||||
return repo;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user