Skip to content

Commit e620120

Browse files
Delete getTestDirectory
1 parent 6fbe95a commit e620120

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

extensions/ql-vscode/src/query-testing/test-adapter.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { dirname, extname } from "path";
1+
import { extname } from "path";
22
import * as vscode from "vscode";
33
import {
44
TestAdapter,
@@ -41,14 +41,6 @@ export function getActualFile(testPath: string): string {
4141
return getTestOutputFile(testPath, ".actual");
4242
}
4343

44-
/**
45-
* Get the directory containing the specified QL test.
46-
* @param testPath The full path to the test file.
47-
*/
48-
export function getTestDirectory(testPath: string): string {
49-
return dirname(testPath);
50-
}
51-
5244
/**
5345
* Gets the the full path to a particular output file of the specified QL test.
5446
* @param testPath The full path to the QL test.

0 commit comments

Comments
 (0)