import { QueryPlan } from './' ; import prettyFormat from 'pretty-format' ; import { astSerializer , queryPlanSerializer } from './snapshotSerializers' ; export function prettyFormatQueryPlan ( queryPlan ) { return prettyFormat ( queryPlan , { plugins : [ queryPlanSerializer , astSerializer ] , } ) ; }