export default function getStateGovernorContestId(fips, metadata) {
  const contest = Object.entries(metadata).find(([, m]) => m.office === 'governor' && m.stateFips === fips);
  return contest ? contest[0] : undefined;
}