mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
more test tweaks
This commit is contained in:
@@ -181,7 +181,12 @@ suite('createEditAddingLinksForUriList', () => {
|
||||
});
|
||||
|
||||
test('Smart should be disabled in math blocks', async () => {
|
||||
const katex = (<any>(await import('@vscode/markdown-it-katex')).default).default;
|
||||
|
||||
let katex: any = (await import('@vscode/markdown-it-katex')).default;
|
||||
if (typeof katex === 'object') {
|
||||
katex = katex.default;
|
||||
}
|
||||
|
||||
const engine = createNewMarkdownEngine();
|
||||
(await engine.getEngine(undefined)).use(katex);
|
||||
assert.strictEqual(
|
||||
|
||||
Reference in New Issue
Block a user