const { version } = require ( '../../package.json' ) ; export function getVersion ( fakeVersion = '0.0.0' ) { if ( process . env . JEST_WORKER_ID !== undefined ) { return fakeVersion ; } return version ; }