Fixed tests

pull/10667/head
Laurent Cozic 2024-06-29 18:36:43 +02:00
parent a1f9c9c3d8
commit dfdc2fda27
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;