mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
@@ -227,17 +227,4 @@ suite('markdown: Diagnostics', () => {
|
||||
const { diagnostics } = await manager.recomputeDiagnosticState(doc1, noopToken);
|
||||
assert.deepStrictEqual(diagnostics.length, 0);
|
||||
});
|
||||
|
||||
test('skipPaths should resolve relative to file', async () => {
|
||||
const doc1 = new InMemoryDocument(workspacePath('sub', 'doc1.md'), joinLines(
|
||||
``,
|
||||
``,
|
||||
``,
|
||||
``,
|
||||
));
|
||||
|
||||
const manager = createDiagnosticsManager(new InMemoryWorkspaceMarkdownDocuments([doc1]), new MemoryDiagnosticConfiguration(true, ['images/**/*.png']));
|
||||
const { diagnostics } = await manager.recomputeDiagnosticState(doc1, noopToken);
|
||||
assert.deepStrictEqual(diagnostics.length, 0);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user