Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2 Fixes/14962.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix unittest discovery when using VS Code Insiders by using Inversify's `skipBaseClassChecks` option.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@
"glob": "^7.1.2",
"hash.js": "^1.1.7",
"iconv-lite": "^0.4.21",
"inversify": "^4.11.1",
"inversify": "^5.0.4",
"jsonc-parser": "^2.0.3",
"line-by-line": "^0.1.6",
"lodash": "^4.17.19",
Expand Down
2 changes: 1 addition & 1 deletion src/client/extensionInit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function initializeGlobals(
// This is stored in ExtensionState.
context: IExtensionContext,
): ExtensionState {
const cont = new Container();
const cont = new Container({ skipBaseClassChecks: true });
const serviceManager = new ServiceManager(cont);
const serviceContainer = new ServiceContainer(cont);
const disposables: IDisposableRegistry = context.subscriptions;
Expand Down