travelhubapi/travelhubapi-node-sdk

View on GitHub
test/mock/travelhubapi-hotel.mock.js

Summary

Maintainability
A
1 hr
Test Coverage

Function load has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function load(nock) {
  nock(TravelhubApiSDKHotel.homologHost, {
    reqheaders: {
      authorization: 'Bearer accessToken',
    },
Severity: Minor
Found in test/mock/travelhubapi-hotel.mock.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status