getTotal remove ()
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
6d66ab7bea
commit
dad4119300
|
@ -38,6 +38,6 @@ module.exports = Self => {
|
||||||
WHERE
|
WHERE
|
||||||
ii.id = ?`, [id, id]);
|
ii.id = ?`, [id, id]);
|
||||||
|
|
||||||
return (result);
|
return result;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,7 +37,7 @@ describe('vnInvoiceInDescriptor', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('checkToBook()', () => {
|
describe('checkToBook()', () => {
|
||||||
it(`should show both warning messages`, () => {
|
it(`should show a warning before book`, () => {
|
||||||
controller.$.confirmToBookAnyway = {show: () => {}};
|
controller.$.confirmToBookAnyway = {show: () => {}};
|
||||||
jest.spyOn(controller.$.confirmToBookAnyway, 'show');
|
jest.spyOn(controller.$.confirmToBookAnyway, 'show');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue