import { Connector } from '../connector' ; import * as Winston from 'winston' ; test ( 'Simple test' , async ( ) => { let c ; let logger = new Winston . Logger ( { transports : [ new Winston . transports . Console ( ) ] } ) ; logger . info = console . log ; logger . debug = console . log ; logger . error = console . log ; logger . warn = console . log ; c = new Connector ( logger ) ; expect ( c ) . toBeInstanceOf ( Connector ) ; await c . dispose ( ) ; expect ( 1 ) . toEqual ( 1 ) ; } ) ;