File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/vscode-tests/cli-integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import * as tmp from "tmp";
66import { getTestSetting } from "../test-config" ;
77import { CUSTOM_CODEQL_PATH_SETTING } from "../../config" ;
88import { extensions , workspace } from "vscode" ;
9- import { CodeQLExtensionInterface } from "../../extension" ;
109
1110import baseJestSetup from "../jest.setup" ;
1211
@@ -78,21 +77,6 @@ beforeAll(async () => {
7877
7978// ensure extension is cleaned up.
8079afterAll ( async ( ) => {
81- const extension = await extensions
82- . getExtension < CodeQLExtensionInterface | Record < string , never > > (
83- "GitHub.vscode-codeql" ,
84- ) !
85- . activate ( ) ;
86- // This shuts down the extension and can only be run after all tests have completed.
87- // If this is not called, then the test process will hang.
88- if ( "dispose" in extension ) {
89- try {
90- extension . dispose ( ) ;
91- } catch ( e ) {
92- console . warn ( "Failed to dispose extension" , e ) ;
93- }
94- }
95-
9680 // ensure temp directory is cleaned up.
9781 try {
9882 removeStorage ?.( ) ;
You can’t perform that action at this time.
0 commit comments