1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Fixed tests

This commit is contained in:
Laurent Cozic 2024-06-29 18:36:43 +02:00
parent e4b8976aa0
commit 3270122419
2 changed files with 2 additions and 2 deletions

View File

@ -486,7 +486,7 @@ describe('Synchronizer.basics', () => {
// Then after sync, appMinVersion should be the same as that client version
const remoteInfoAfter = await fetchSyncInfo(synchronizer().api());
expect(remoteInfoBefore.appMinVersion).toBe('0.0.0');
expect(remoteInfoBefore.appMinVersion).toBe('3.0.0');
expect(remoteInfoAfter.appMinVersion).toBe('100.0.0');
// Now simulates synchronising with an older client version. In that case, it should not be

View File

@ -321,7 +321,7 @@ describe('syncInfoUtils', () => {
expect(result.version).toEqual(0);
expect(result.ppk).toEqual(null);
expect(result.e2ee).toEqual(false);
expect(result.appMinVersion).toEqual('0.0.0');
expect(result.appMinVersion).toEqual('3.0.0');
expect(result.masterKeys).toEqual([]);
Logger.globalLogger.enabled = true;