From 6cf68a1f23ee09d13e7e2bc4f7e8e2de1c5ef714 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 11 Oct 2022 17:41:13 -0700 Subject: [PATCH] Remove .only and fix tests (#163376) Fixes #162159 --- .../src/test/documentLink.test.ts | 7 +++---- .../markdown-language-features/src/test/engine.test.ts | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/extensions/markdown-language-features/src/test/documentLink.test.ts b/extensions/markdown-language-features/src/test/documentLink.test.ts index 37fe52e3dfb..0000069a660 100644 --- a/extensions/markdown-language-features/src/test/documentLink.test.ts +++ b/extensions/markdown-language-features/src/test/documentLink.test.ts @@ -134,7 +134,7 @@ async function getLinksForFile(file: vscode.Uri): Promise } }); - test('Should navigate to fragment within current untitled file', async () => { // TODO: skip for now for ls migration + test.skip('Should navigate to fragment within current untitled file', async () => { // TODO: skip for now for ls migration const testFile = workspaceFile('x.md').with({ scheme: 'untitled' }); await withFileContents(testFile, joinLines( '[](#second)', @@ -169,9 +169,8 @@ async function withFileContents(file: vscode.Uri, contents: string): Promise { }); }); - suite.only('image-caching', () => { + suite('image-caching', () => { const input = '![](img.png) [](no-img.png) ![](http://example.org/img.png) ![](img.png) ![](./img2.png)'; test('Extracts all images', async () => {