import { Neovim } from "neovim" ; import { Di } from "./di" ; describe ( "Di" , ( ) => { it ( "get" , ( ) => { const NeovimClass = jest . fn ( ( ) => ( { } ) ) as any ; const vim = new NeovimClass ( ) ; Di . get ( "Ctrlb" , vim ) ; Di . get ( "Requester" , vim ) ; Di . clear ( ) ; Di . get ( "Ctrlb" , vim ) ; Di . get ( "Requester" , vim ) ; Di . clear ( ) ; } ) ; } ) ;