kalisio/kApp

View on GitHub
api/test/reporters/mocha-slack.js

Summary

Maintainability
A
1 hr
Test Coverage

Function SlackReporter has 55 lines of code (exceeds 50 allowed). Consider refactoring.
Open

function SlackReporter (runner, options) {
  mocha.reporters.Base.call(this, runner)
  const notifier = new SlackNotifier(process.env.SLACK_WEBHOOK_URL || options.reporterOptions.webhook_url)
  const context = process.env.MOCHA_CONTEXT || options.reporterOptions.context
  let startTime
Severity: Major
Found in api/test/reporters/mocha-slack.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status