Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Add test case for exception
Browse files Browse the repository at this point in the history
  • Loading branch information
qinezh committed Dec 9, 2019
1 parent efa9beb commit 21fa8d7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/data/exception/sample.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export class Foo {
/**
* @throws Exception description.
*/
public bar() {
}
}
20 changes: 20 additions & 0 deletions tests/data/exception/spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- uid: type2docfx.Foo
name: Foo
fullName: Foo
children:
- uid: type2docfx.Foo.bar
name: bar()
children: []
type: method
langs:
- typeScript
summary: ''
syntax:
content: function bar()
parameters: []
package: type2docfx
langs:
- typeScript
type: class
summary: ''
package: type2docfx

0 comments on commit 21fa8d7

Please sign in to comment.