resources/assets/js/__tests__/factory/songFactory.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function generate has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const generate = (partOfCompilation = false): Song => {
  const artistId = faker.datatype.number({ min: 3 })
  const artistName = faker.name.findName()

  return {
Severity: Minor
Found in resources/assets/js/__tests__/factory/songFactory.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status