Skip to content

Commit

Permalink
chore: increase test-util.ts converage by returning undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed Aug 26, 2023
1 parent 2b6a34e commit 7ea3c64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/parser/tests/test-util.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7ea3c64

Please sign in to comment.