betagouv/service-national-universel

View on GitHub
api/src/__tests__/young.test.ts

Summary

Maintainability
A
2 hrs
Test Coverage

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

import fetch from "node-fetch";

import request from "supertest";
import jwt from "jsonwebtoken";
import { ROLES, COHORTS, YOUNG_SOURCE, SENDINBLUE_TEMPLATES } from "snu-lib";
Severity: Major
Found in api/src/__tests__/young.test.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status