arrow function refactor test

This commit is contained in:
Jesse Trinity 2020-05-26 10:37:34 -07:00
parent f3751fbdf3
commit 96f210c1c8

View File

@ -0,0 +1,7 @@
/// <reference path='fourslash.ts' />
//// const a = (a: number) => { return/*a*//*b*/ a; };
// an invoked refactor request for a cursor in the body should return a refactor
goTo.select("a", "b");
verify.refactorAvailableForTriggerReason("invoked","Add or remove braces in an arrow function", "Remove braces from arrow function");