Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
feat: remove useless console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Feb 18, 2024
1 parent 8824548 commit 6fb9c89
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions toolchains/solidity/extension/src/tests/test-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ export class TestManager {
* @returns A structure containing the positions of all tests in the file (see /toolchains/solidity/core/tests-positions-server/src/get-tests-positions.rs)
*/
private async getTestsPositions(content: string): Promise<any> {
console.log("getTestsPositions");
return this.client.sendRequest("osmium/getTestsPositions", {
file_content: content, // eslint-disable-line @typescript-eslint/naming-convention
});
Expand All @@ -190,7 +189,6 @@ export class TestManager {
* @returns The TestItem for the file
*/
private getOrCreateTestFileItem(uri: vscode.Uri) {
console.log("getOrCreateTestFileItem");
const existing = this.testController.items.get(uri.toString());
if (existing) {
return existing;
Expand Down Expand Up @@ -300,7 +298,6 @@ export class TestManager {
file.uri
);
contractItem.range = convertRange(contract.range);
console.log("Contract range", JSON.stringify(contractItem.range));
this.testData.set(contractItem, ItemType.contractCase);
file.children.add(contractItem);

Expand All @@ -311,7 +308,6 @@ export class TestManager {
file.uri
);
functionItem.range = convertRange(test.range);
console.log("Test range", JSON.stringify(functionItem.range));
this.testData.set(functionItem, ItemType.testCase);
contractItem.children.add(functionItem);
});
Expand All @@ -335,6 +331,5 @@ function convertRange(lspRange: any): vscode.Range {
new vscode.Position(lspRange.start.line - 1, lspRange.start.character),
new vscode.Position(lspRange.end.line - 1, lspRange.end.character)
);
console.log(range);
return range;
}

0 comments on commit 6fb9c89

Please sign in to comment.