Skip to content

Commit 85b29d7

Browse files
committed
Amend test
1 parent ed54d9f commit 85b29d7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

tests/cases/fourslash/jsdocDeprecated_suggestion_skipJSDoc.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,19 @@
1010
////function imDeprecated() {}
1111
////[|imDeprecated|]()
1212

13-
const [range] = test.ranges();
14-
verify.getSuggestionDiagnostics([]);
13+
/////**
14+
//// * {@see imDeprecated}
15+
//// * @deprecated
16+
//// */
17+
////function imDeprecated2() {}
18+
////[|imDeprecated2|]()
19+
20+
const [, range] = test.ranges();
21+
verify.getSuggestionDiagnostics([
22+
{
23+
"code": 6387,
24+
"message": "The signature '(): void' of 'imDeprecated2' is deprecated.",
25+
"reportsDeprecated": true,
26+
"range": range
27+
},
28+
]);

0 commit comments

Comments
 (0)