Add annotations in searchValues

This commit is contained in:
Aman Kumar 2024-05-13 22:43:36 +05:30
parent 1e2d17fd96
commit 70f442e93a

View file

@ -176,6 +176,7 @@ function cacheSearchValues(test: TestCaseSummary): SearchValues {
line: String(test.location.line),
column: String(test.location.column),
labels: test.tags.map(tag => tag.toLowerCase()),
annotations: test.annotations.map(a => a.type.toLowerCase() + '=' + a.description?.toLocaleLowerCase())
};
(test as any)[searchValuesSymbol] = searchValues;
return searchValues;