Chocobozzz/PeerTube

View on GitHub
client/e2e/src/utils/hooks.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function buildConfig has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function buildConfig (suiteFile: string = undefined) {
  const filename = basename(suiteFile)

  if (filename === 'custom-server-defaults.e2e-spec.ts') {
    return {
Severity: Minor
Found in client/e2e/src/utils/hooks.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status