mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			225 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			225 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * Mocked pie (picChart) diagram renderer
 | 
						|
 */
 | 
						|
 | 
						|
import { vi } from 'vitest';
 | 
						|
export const setConf = vi.fn();
 | 
						|
 | 
						|
export const draw = vi.fn().mockImplementation(() => {
 | 
						|
  return '';
 | 
						|
});
 | 
						|
 | 
						|
export default {
 | 
						|
  setConf,
 | 
						|
  draw,
 | 
						|
};
 |