bbyars/mountebank

View on GitHub
src/cli/api.js

Summary

Maintainability
A
1 hr
Test Coverage

Function curl has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function curl (options, method, path, body) {
    return new Promise((resolve, reject) => {
        const requestOptions = {
            method: method,
            path: path,
Severity: Minor
Found in src/cli/api.js - About 1 hr to fix

    Parsing error: Invalid ecmaVersion.
    Open

    'use strict';
    Severity: Minor
    Found in src/cli/api.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status