testing: fix wrapped line decoration not being clickable (#170914)

Fixes #170913
This commit is contained in:
Connor Peet 2023-01-09 15:06:19 -08:00 committed by GitHub
parent 9120c7aed4
commit 0e8166c695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,7 +435,7 @@ const firstLineRange = (originalRange: IRange) => ({
startLineNumber: originalRange.startLineNumber,
endLineNumber: originalRange.startLineNumber,
startColumn: 0,
endColumn: 1,
endColumn: Number.MAX_SAFE_INTEGER,
});
const createRunTestDecoration = (tests: readonly IncrementalTestCollectionItem[], states: readonly (TestResultItem | undefined)[], visible: boolean): IModelDeltaDecoration => {