message: Check it works also for else-ifs
diff: @@ -272,6 +272,22 @@ describe("Split If Statement", () => {
  } else if (isCorrect) {
  doAnotherThing();
  }
  +}`
  + },
  + {
  + description: "nested if in else-if statement",
  + code: `if (isValid) {
  + doSomething();
  +} else if (shouldDoSomething) {
  + if (isCorrect) {
  + doAnotherThing();
  + }
  +}`,
  + selection: Selection.cursorAt(3, 0),
  + expected: `if (isValid) {
  + doSomething();
  +} else if (shouldDoSomething && isCorrect) {
  + doAnotherThing();
  }`
  }
  ],
  