1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Chore: Migrate file system sync to TypeScript (#10361)

This commit is contained in:
Henry Heino
2024-04-25 05:31:48 -07:00
committed by GitHub
parent c7c4371902
commit 83b50aaa8e
15 changed files with 124 additions and 84 deletions

View File

@ -375,6 +375,7 @@ describe('Synchronizer.resources', () => {
const resource: ResourceEntity = (await Resource.all())[0];
const resourcePath = `.resource/${resource.id}`;
await synchronizer().api().mkdir('.resource/');
await synchronizer().api().put(resourcePath, 'before upload');
expect(await synchronizer().api().get(resourcePath)).toBe('before upload');
await synchronizerStart();