Coding Global Background
Coding Global

Can this still be easily unit tested?

Archiviert 4 months ago
1 Nachrichten
2 Mitglieder
Erstellt 5 months ago
Aktualisiert 5 months ago
In Discord öffnen
S
wobby (ᵔᴥᵔ)

Spielt Custom Status

Copy Paster!
import { inject } from 'vue'
import { IocEnum } from '@/enums/ioc-enum'

export function useConversation() {
  // TODO Check if this is the optimal injection way
  const logger: ConsoleLogger = inject(IocEnum.LOGGER)!
}


Can this still be easily unit tested?