Removed test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e557bd2815
commit
68c19fa22a
|
@ -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);
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue