Skip to content

Commit

Permalink
docs: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Oct 24, 2023
1 parent 4eea668 commit be32c9f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/language/documentation/safe-ds-comment-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,27 @@ describe('SafeDsCommentProvider', () => {
});
});

/**
* A description of a test case for the comment provider.
*/
interface CommentProviderTest {
/**
* A short description of the test case.
*/
testName: string;

/**
* The code to test.
*/
code: string;

/**
* A predicate to find the node to test.
*/
predicate: (node: unknown) => node is AstNode;

/**
* The expected comment.
*/
expectedComment: string | undefined;
}

0 comments on commit be32c9f

Please sign in to comment.