Skip to content

Commit 417c2ad

Browse files
authored
testing: fix element already has context attribute (microsoft#209064)
Fixes microsoft#208598
1 parent 2df0f16 commit 417c2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/testing/browser/testingOutputPeek.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ class TestResultsViewContent extends Disposable {
816816
this._register(this.instantiationService.createInstance(PlainTextMessagePeek, this.editor, messageContainer)),
817817
];
818818

819-
this.messageContextKeyService = this._register(this.contextKeyService.createScoped(this.messageContainer));
819+
this.messageContextKeyService = this._register(this.contextKeyService.createScoped(containerElement));
820820
this.contextKeyTestMessage = TestingContextKeys.testMessageContext.bindTo(this.messageContextKeyService);
821821
this.contextKeyResultOutdated = TestingContextKeys.testResultOutdated.bindTo(this.messageContextKeyService);
822822

0 commit comments

Comments
 (0)