betagouv/service-national-universel

View on GitHub
api/src/__tests__/cle/classe.test.ts

Summary

Maintainability
B
6 hrs
Test Coverage

File classe.test.ts has 899 lines of code (exceeds 700 allowed). Consider refactoring.
Open

import request from "supertest";
import passport from "passport";
import { Types } from "mongoose";
const { ObjectId } = Types;
import emailsEmitter from "../../emails";
Severity: Major
Found in api/src/__tests__/cle/classe.test.ts - About 6 hrs to fix

    There are no issues that match your filters.

    Category
    Status