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
1 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,7 @@
import { expect, vi } from 'vitest';
import type { ParseResult } from 'langium';
const consoleMock = vi.spyOn(console, 'log').mockImplementation(() => {
return;
});
const consoleMock = vi.spyOn(console, 'log').mockImplementation(() => undefined);
/**
* A helper test function that validate that the result doesn't have errors