async function promptToTransformFixtures(testName, {yes}) {
  if (yes) return true;
  let {result} = await inquirer.prompt({
    type: 'expand',
    name: 'result',
    message: `Transform ${chalk.blue(testName)}`,
    default: 0,
    choices: [
      {key: 'y', name: 'transform this test', value: true},
      {key: 'n', name: 'do not transform this test', value: false},
      {key: 'a', name: 'transform remaining tests in the file', value: 'all'},
      {key: 'd', name: 'skip remaining tests in the file', value: 'none'},
      {key: 'v', name: 'view the diff for this test', value: 'view'},
    ],
  });
  return result;
}
Prompts the user to transform a test. Noop if `yes` is true.