teableio/teable

View on GitHub
apps/nestjs-backend/src/features/oauth/oauth-server.service.spec.ts

Summary

Maintainability
B
4 hrs
Test Coverage

File oauth-server.service.spec.ts has 387 lines of code (exceeds 300 allowed). Consider refactoring.
Open

/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable sonarjs/no-duplicate-string */
import { BadRequestException, UnauthorizedException } from '@nestjs/common';
import { JwtService } from '@nestjs/jwt';
import type { TestingModule } from '@nestjs/testing';
Severity: Minor
Found in apps/nestjs-backend/src/features/oauth/oauth-server.service.spec.ts - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status