2883-invoiceIn-Booking #786

Merged
carlosjr merged 17 commits from 2883-invoiceIn-Booking into dev 2022-01-24 15:29:57 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit dad4119300 - Show all commits

View File

@ -38,6 +38,6 @@ module.exports = Self => {
WHERE
ii.id = ?`, [id, id]);
return (result);
return result;
jgallego marked this conversation as resolved Outdated

remove the ()

remove the ()
};
};

View File

@ -37,7 +37,7 @@ describe('vnInvoiceInDescriptor', () => {
});
describe('checkToBook()', () => {
it(`should show both warning messages`, () => {
it(`should show a warning before book`, () => {
jgallego marked this conversation as resolved Outdated

the description of the test states two warning messages will be shown but the test doesn't check that

the description of the test states two warning messages will be shown but the test doesn't check that
controller.$.confirmToBookAnyway = {show: () => {}};
jest.spyOn(controller.$.confirmToBookAnyway, 'show');