/// <reference path='fourslash.ts' />

//// let foo, bar = /*x*/(/*y*/) => 1 + 1, magicNo;

goTo.select("x", "y");
edit.applyRefactor({
    refactorName: "Convert arrow function or function expression",
    actionName: "Convert to named function",
    actionDescription: "Convert to named function",
    newContent: `let foo, magicNo;
function bar() {
    return 1 + 1;
}
`,
});
