mirror of https://github.com/laurent22/joplin.git
Fixed tests
parent
a1f9c9c3d8
commit
dfdc2fda27
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue