Add tests

This commit is contained in:
Mohamed Hegazy 2015-04-07 15:41:21 -07:00
parent 955c9f1ff2
commit 0258a648f9
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,14 @@
/// <reference path='fourslash.ts' />
// @Filename: b.ts
////@/*1*/decorator
////class C {
//// @decorator
//// method() {}
////}
////function decorator(target) {
//// return target;
////}
goTo.marker("1");
verify.occurrencesAtPositionCount(3);

View File

@ -0,0 +1,11 @@
/// <reference path='fourslash.ts' />
////@/*1*/decorator
////class C {
////}
/////** decorator documentation*/
////var decorator = t=> t;
goTo.marker("1");
verify.quickInfoIs("var decorator: (t: any) => any", "decorator documentation");