2883-invoiceIn-Booking #786
|
@ -38,6 +38,6 @@ module.exports = Self => {
|
|||
WHERE
|
||||
ii.id = ?`, [id, id]);
|
||||
|
||||
return (result);
|
||||
return result;
|
||||
jgallego marked this conversation as resolved
Outdated
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
carlosjr
commented
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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
remove the ()