import Singleton from '../src/singleton' ; test ( 'singleton.ts -> Singleton' , ( ) => { const instanceA = Singleton . getInstance ( ) ; const instanceB = Singleton . getInstance ( ) ; expect ( instanceA ) . toBe ( instanceB ) ; } ) ;