import { Predicate } from '../property' ; import { hold as mochaHold } from './mocha' ; export default function hold ( name , predicate ) { if ( typeof it !== 'undefined' ) { return mochaHold . apply ( null , arguments ) ; } else { throw new Error ( 'Oops!' ) ; } }