LearnersGuild/echo

View on GitHub
src/test/factories/project.js

Summary

Maintainability
A
1 hr
Test Coverage

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

export default function define(factory) {
  const commonAttrs = {
    id: cb => cb(null, faker.random.uuid()),
    name: factory.sequence(n => `funky-falcon-${n}`),
    chapterId: factory.assoc('chapter', 'id'),
Severity: Minor
Found in src/test/factories/project.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status