Coding Global Background
Coding Global

Can this still be easily unit tested?

Archived 4 months ago
1 messages
2 members
Created 5 months ago
Updated 5 months ago
Open in Discord
S
wobby (ᵔᴥᵔ)

Playing 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?