Showing 2 of 5 total issues
Function book
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports.book = function book(hotelSDK, hotel, checkIn, checkOut) {
const guests = {
items: [
{
firstName: 'Fulano',
Function load
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function load(nock) {
nock(TravelhubApiSDKHotel.homologHost, {
reqheaders: {
authorization: 'Bearer accessToken',
},