All files / src/enums injectable-scope.enum.mts

100% Statements 5/5
100% Branches 2/2
100% Functions 1/1
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1623x       23x       23x       23x      
export enum InjectableScope {
  /**
   * Singleton scope: The instance is created once and shared across the application.
   */
  Singleton = 'Singleton',
  /**
   * Instance scope: A new instance is created for each injection.
   */
  Transient = 'Transient',
  /**
   * Request scope: The instance is created once per request and shared within that request context.
   */
  Request = 'Request',
}