denbon05/fastify-lcache

View on GitHub
__tests__/helpers/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getApp has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getApp = (options: ICacheOptions = {}) => {
  const app = fastify();
  app.register(lcache, options);

  app.after(() => {
Severity: Minor
Found in __tests__/helpers/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status