Add some tests

This commit is contained in:
Ryan Cavanaugh
2016-02-01 21:20:37 -08:00
parent 1b282cda1d
commit 3dfd378b7e

View File

@@ -10,9 +10,26 @@
//// * @param {number} a
//// */
//// constructor(a, b) {
//// a./**/
//// a/*body*/
//// }
////
//// /**
//// * @param {number} a
//// */
//// method(a) {
//// a/*method*/
//// }
//// }
//// let x = new Something(/*sig*/);
goTo.marker();
goTo.marker('body');
edit.insert('.');
verify.completionListContains('toFixed', undefined, undefined, 'method');
edit.backspace();
goTo.marker('sig');
verify.currentSignatureHelpIs('Something(a: number, b: any): Something');
goTo.marker('method');
edit.insert('.');
verify.completionListContains('toFixed', undefined, undefined, 'method');