hunk.code_window:         with:
             args: yarn build:bundles
         - name: Run Jest Unit Tests
           uses: mujo-code/puppeteer-headful@master
           with:
             args: yarn test:unit
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:         uses: ianwalter/puppeteer@3.0.0
  
hunk.file_path: .github/workflows/tests.yml
hunk.type: replace
file: // @flow
  import type { Placement } from '../enums';
  
  const hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };
  
  export default function getOppositePlacement(placement: Placement): Placement {
    return (placement.replace(
      /left|right|bottom|top/g,
      matched => hash[matched]
    ): any);
  }
  