Add tests
This commit is contained in:
parent
b52747e12c
commit
277f4592c1
1 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,13 @@
|
|||
//// this.x = 100;
|
||||
//// }
|
||||
////
|
||||
//// /** awesome
|
||||
//// * stuff
|
||||
//// */
|
||||
//// fn.prototype.arr = () => { return ""; }
|
||||
//// /** great */
|
||||
//// fn.prototype.arr2 = () => [];
|
||||
////
|
||||
//// /**
|
||||
//// * This is a cool function!
|
||||
//// */
|
||||
|
@ -20,6 +27,12 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
/** neat! */
|
||||
this.x = 100;
|
||||
}
|
||||
/** awesome
|
||||
* stuff
|
||||
*/
|
||||
arr() { return ""; }
|
||||
/** great */
|
||||
arr2() { return []; }
|
||||
/**
|
||||
* This is a cool function!
|
||||
*/
|
||||
|
@ -28,4 +41,5 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
`, 'Convert to ES2015 class', 'convert');
|
||||
|
|
Loading…
Reference in a new issue