import 'reflect-metadata' ; import { AxeInfo } from './axe-info' ; const VERSION = 'axe.core.version' ; describe ( AxeInfo , ( ) => { const axe = { version : VERSION } ; const axeInfo = new AxeInfo ( axe as any ) ; it ( 'has a default' , ( ) => { expect ( axeInfo ) . not . toBe ( undefined ) ; } ) ; it ( 'returns correct version' , ( ) => { expect ( axeInfo . version ) . toBe ( VERSION ) ; } ) ; } ) ;