Add tests

This commit is contained in:
Ryan Cavanaugh 2017-06-29 15:14:09 -07:00
parent b52747e12c
commit 277f4592c1

View file

@ -6,6 +6,13 @@
//// /** neat! */
//// 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');