import { find } from 'lodash' ; import { Jest } from './jest/framework' ; import { PHPUnit } from './phpunit/framework' ; export { Jest } ; export { PHPUnit } ; export const Frameworks = [ Jest , PHPUnit ] ; param type export function getFrameworkByType ( type ) { return find ( Frameworks , framework => framework . getDefaults ( ) . type === type ) ; }