mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
chore: increase test-util.ts
converage by returning undefined
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
import { expect, vi } from 'vitest';
|
import { expect, vi } from 'vitest';
|
||||||
import type { ParseResult } from 'langium';
|
import type { ParseResult } from 'langium';
|
||||||
|
|
||||||
const consoleMock = vi.spyOn(console, 'log').mockImplementation(() => {
|
const consoleMock = vi.spyOn(console, 'log').mockImplementation(() => undefined);
|
||||||
return;
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A helper test function that validate that the result doesn't have errors
|
* A helper test function that validate that the result doesn't have errors
|
||||||
|
Reference in New Issue
Block a user