Chocobozzz/PeerTube

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

Summary

Maintainability
A
1 hr
Test Coverage

Function runServer has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function runServer (appInstance: number, config: any = {}) {
  const env = Object.create(process.env)

  env['NODE_OPTIONS'] = ''
  env['NODE_ENV'] = 'test'
Severity: Minor
Found in client/e2e/src/utils/server.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status