message: jest-circus: remove switch with single case
diff: @@ -39,8 +39,7 @@ const humanReadableOperators: Record<string, string> = {
  };
  const formatNodeAssertErrors = (event: Circus.Event, state: Circus.State) => {
  - switch (event.name) {
  - case 'test_done': {
  + if (event.name === 'test_done') {
  event.test.errors = event.test.errors.map((errors: Circus.TestError) => {
  let error;
  if (Array.isArray(errors)) {
  @@ -65,7 +64,6 @@ const formatNodeAssertErrors = (event: Circus.Event, state: Circus.State) => {
  : errors;
  });
  }
  - }
  };
  const getOperatorName = (operator: string | undefined, stack: string) => {
  