hunk.code_window: import { colourOptions } from '../data';
   const filterColors = (inputValue: string) => {
     if (inputValue) {
       return colourOptions.filter(i =>
           i.label.toLowerCase().includes(inputValue.toLowerCase())
         );
     }
     return colourOptions;
   };
   const promiseOptions = inputValue =>
     new Promise(resolve => {
  
hunk.labels: keep keep keep replace replace replace replace replace replace keep keep keep keep
hunk.after_edit:   return colourOptions.filter(i =>
       i.label.toLowerCase().includes(inputValue.toLowerCase())
     );
  
hunk.file_path: docs/examples/AsyncCreatable.js
hunk.type: replace
file: version: 2
  
  docker_defaults: &docker_defaults
      docker:
          - image: cypress/base:8
            environment:
              TERM: xterm
      working_directory: ~/project/repo
  
  attach_workspace: &attach_workspace
      attach_workspace:
          at: ~/project
  
  install_steps: &install_steps
      steps:
          - checkout
          - restore_cache:
              name: Restore node_modules cache
              keys:
                  - dependency-cache-{{ .Branch }}-{{ checksum "package.json" }}
                  - dependency-cache-{{ .Branch }}-
                  - dependency-cache-
          - run:
              name: Installing Dependencies
              command: |
                yarn install --silent
          - save_cache:
              name: Save node_modules cache
              key: dependency-cache-{{ .Branch }}-{{ checksum "package.json" }}
              paths:
                  - node_modules/
          - persist_to_workspace:
              root: ~/project
              paths:
                  - repo
  
  workflows:
      version: 2
      build_pipeline:
          jobs:
              - build
              - unit_test:
                  requires:
                      - build
              - end_to_end:
                  requires:
                      - build
  jobs:
      build:
          <<: *docker_defaults
          <<: *install_steps
      unit_test:
          <<: *docker_defaults
          steps:
              - *attach_workspace
              - run:
                  name: Running unit tests
                  command: |
                    yarn lint
                    yarn test:jest
                    yarn coveralls
      end_to_end:
          <<: *docker_defaults
          steps:
              - *attach_workspace
              - run:
                  name: Running E2E tests
                  command: |
                    yarn e2e
  