Skip to content

Commit

Permalink
Removing unused document link tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zalan-racz-gaijin committed Apr 5, 2024
1 parent cb4860b commit 3782a37
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 173 deletions.
93 changes: 0 additions & 93 deletions src/test/document-link-resolve.test.ts

This file was deleted.

64 changes: 0 additions & 64 deletions src/test/document-link.test.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/test/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,3 @@ export const getDocumentPath = (filePath: string) => {
export const getDocumentUri = (filePath: string) => {
return vscode.Uri.file(getDocumentPath(filePath));
};

export function getRange(
startLine: number,
startCharacter: number,
endLine: number,
endCharacter: number
): vscode.Range {
const start = new vscode.Position(startLine, startCharacter);
const end = new vscode.Position(endLine, endCharacter);
return new vscode.Range(start, end);
}

export function getDocumenLink(range: vscode.Range): vscode.DocumentLink {
return new vscode.DocumentLink(range);
}

0 comments on commit 3782a37

Please sign in to comment.