chore: increase test-util.ts converage by returning undefined

This commit is contained in:
Reda Al Sulais
2023-08-26 14:37:36 +03:00
parent 2b6a34e9e0
commit 7ea3c64268

View File

@@ -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