emilepharand/Babilonia

View on GitHub
server/routes.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    public init(): void {
        this.app.use('/', this.router);
        if (process.env.TEST_MODE) {
            // Signals that the server is running in tests
            this.router.get('/', (_, res) => {
Severity: Minor
Found in server/routes.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status