mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Add some tests
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user