mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01: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 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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user