diff --git a/back/methods/docuware/specs/core.spec.js b/back/methods/docuware/specs/core.spec.js index 2700286d3..d7cb4ea22 100644 --- a/back/methods/docuware/specs/core.spec.js +++ b/back/methods/docuware/specs/core.spec.js @@ -1,7 +1,7 @@ const axios = require('axios'); const {Docuware} = require('vn-loopback/server/server').models; -fdescribe('Docuware core', () => { +describe('Docuware core', () => { beforeAll(() => { process.env.NODE_ENV = 'testing'; spyOn(Docuware, 'hasDeviceReady').and.returnValue(true); @@ -40,7 +40,7 @@ fdescribe('Docuware core', () => { }); }); - fdescribe('getDialog()', () => { + describe('getDialog()', () => { it('should return dialogId', async() => { const dialogs = { data: { @@ -145,7 +145,7 @@ fdescribe('Docuware core', () => { }); }); - fdescribe('getFileCabinet()', () => { + describe('getFileCabinet()', () => { it('should return fileCabinetId', async() => { const code = 'deliveryNote'; const docuwareInfo = await Docuware.findOne({ @@ -170,7 +170,7 @@ fdescribe('Docuware core', () => { }); }); - fdescribe('get()', () => { + describe('get()', () => { it('should return data without parse', async() => { spyOn(Docuware, 'getFileCabinet').and.returnValue((new Promise(resolve => resolve(Math.random())))); spyOn(Docuware, 'getDialog').and.returnValue((new Promise(resolve => resolve(Math.random())))); @@ -224,7 +224,7 @@ fdescribe('Docuware core', () => { }); }); - fdescribe('getById()', () => { + describe('getById()', () => { it('should return data', async() => { spyOn(Docuware, 'getFileCabinet').and.returnValue((new Promise(resolve => resolve(Math.random())))); spyOn(Docuware, 'getDialog').and.returnValue((new Promise(resolve => resolve(Math.random()))));