hunk.code_window:   // Enable Differential loading to run both size checks
     await replaceInFile(
       '.browserslistrc',
       'not IE 9-11',
       'IE 9-11',
     );
     // Remove the cache so that an initial build and build with cache can be tested
     await rimraf('./node_modules/.cache');
  
hunk.labels: keep keep keep keep replace replace keep keep keep keep
hunk.after_edit:     'not IE 11',
       'IE 11',
  
hunk.file_path: tests/legacy-cli/e2e/tests/build/differential-cache.ts
hunk.type: replace
file: #!/usr/bin/env bash
  
  # Disable printing of any executed command because this would cause a lot
  # of spam due to the loop.
  set +x -u -e -o pipefail
  
  # Waits for Saucelabs Connect to be ready before executing any tests.
  counter=0
  
  while [[ ! -f ${SAUCE_READY_FILE} ]]; do
    counter=$((counter + 1))
  
    # Counter needs to be multiplied by two because the while loop only sleeps a half second.
    # This has been made in favor of better progress logging (printing dots every half second)
    if [ $counter -gt $[${SAUCE_READY_FILE_TIMEOUT} * 2] ]; then
      echo "Timed out after ${SAUCE_READY_FILE_TIMEOUT} seconds waiting for tunnel ready file."
      echo "Printing logfile output:"
      echo ""
      cat ${SAUCE_LOG_FILE}
      exit 5
    fi
  
    printf "."
    sleep 0.5
  done
  
  echo ""
  echo "Connected to Saucelabs"
  