department-of-veterans-affairs/vets-website

View on GitHub
src/platform/monitoring/DowntimeNotification/util/helpers.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createServiceMap has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createServiceMap(maintenanceWindows = []) {
  const serviceMap = new Map();

  // Maintenance windows should be sorted in ascending order
  // so that when a single externalService has multiple upcoming
Severity: Minor
Found in src/platform/monitoring/DowntimeNotification/util/helpers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status