change test case to expect the image to be defined
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pau 2022-09-27 13:58:27 +02:00
parent 2dd6de1d47
commit 901007d34b
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ describe('item clone()', () => {
const result = await models.Item.clone(itemFk, options); const result = await models.Item.clone(itemFk, options);
expect(result.id).toEqual(nextItemId); expect(result.id).toEqual(nextItemId);
expect(result.image).toBeUndefined(); expect(result.image).toBeDefined();
expect(result.itemTag).toBeUndefined(); expect(result.itemTag).toBeUndefined();
expect(result.comment).toBeUndefined(); expect(result.comment).toBeUndefined();
expect(result.description).toBeUndefined(); expect(result.description).toBeUndefined();