Removed test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-07-14 11:17:53 +02:00
parent e557bd2815
commit 68c19fa22a
1 changed files with 0 additions and 17 deletions

View File

@ -1,17 +0,0 @@
const app = require('vn-loopback/server/server');
const fs = require('fs-extra');
// #2367 - Create tests when table itemImageQueue exists
xdescribe('ItemImageQueue downloadImages()', () => {
it('should iterate over images', async() => {
spyOn(fs, 'mkdir');
spyOn(fs, 'createWriteStream');
const models = app.models;
const imageModel = spyOn(models.Image, 'registerImage');
const res = await app.models.ItemImageQueue.downloadImages();
expect(res).toEqual(1);
});
});