license import { version } from './index' ; describe ( 'version' , ( ) => { it ( 'version matches package.json' , ( ) => { const expected = require ( '../package.json' ) . version ; expect ( version ) . toBe ( expected ) ; } ) ; } ) ;