mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Fixed tests
This commit is contained in:
parent
e4b8976aa0
commit
3270122419
@ -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
Block a user