test: correct broken test
This commit is contained in:
parent
e04bdc52d6
commit
844a983048
1 changed files with 2 additions and 3 deletions
|
@ -430,12 +430,11 @@ describe('getUpdateInfo', () => {
|
|||
expect(updateInfo).toBeNull();
|
||||
});
|
||||
|
||||
it('should return version 0 if version is not provided', async () => {
|
||||
it('should return null if version is not provided', async () => {
|
||||
// @ts-ignore
|
||||
const updateInfo = await getUpdateInfo(app1.id);
|
||||
|
||||
expect(updateInfo?.latest).toBe(app1.tipi_version);
|
||||
expect(updateInfo?.current).toBe(0);
|
||||
expect(updateInfo).toBe(null);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue