Fix tests

This commit is contained in:
Matt Bierner
2025-11-25 11:22:33 -08:00
parent 22ce98c190
commit dd5c1e4656

View File

@@ -174,7 +174,7 @@ suite('typescript.previewer', () => {
{ 'text': '}', 'kind': 'link' },
{ 'text': ' b', 'kind': 'text' }
], noopToResource),
'a [`dog`](command:_typescript.openJsDocLink?%5B%7B%22file%22%3A%7B%22path%22%3A%22%2Fpath%2Ffile.ts%22%2C%22scheme%22%3A%22file%22%7D%2C%22position%22%3A%7B%22line%22%3A6%2C%22character%22%3A4%7D%7D%5D) b');
'a [`dog`](command:_typescript.openJsDocLink?%5B%7B%22file%22%3A%7B%22path%22%3A%22%2Fpath%2Ffile.ts%22%2C%22scheme%22%3A%22file%22%7D%2C%22position%22%3A%7B%22line%22%3A6%2C%22character%22%3A4%7D%7D%5D "Open symbol link") b');
});
test('Should render @linkcode text as code', () => {
@@ -195,6 +195,6 @@ suite('typescript.previewer', () => {
{ 'text': '}', 'kind': 'link' },
{ 'text': ' b', 'kind': 'text' }
], noopToResource),
'a [`husky`](command:_typescript.openJsDocLink?%5B%7B%22file%22%3A%7B%22path%22%3A%22%2Fpath%2Ffile.ts%22%2C%22scheme%22%3A%22file%22%7D%2C%22position%22%3A%7B%22line%22%3A6%2C%22character%22%3A4%7D%7D%5D) b');
'a [`husky`](command:_typescript.openJsDocLink?%5B%7B%22file%22%3A%7B%22path%22%3A%22%2Fpath%2Ffile.ts%22%2C%22scheme%22%3A%22file%22%7D%2C%22position%22%3A%7B%22line%22%3A6%2C%22character%22%3A4%7D%7D%5D "Open symbol link") b');
});
});