mirror of
				https://github.com/chartdb/chartdb.git
				synced 2025-11-03 21:43:23 +00:00 
			
		
		
		
	* feat: add PostgreSQL tests and fix parsing SQL * fix: disable format on paste for SQL DDL import * some ui fixes + add tests to the ci * fix * fix validator and importer * fix for maria-db * fix * remove improved * fix * fix * fix * fix for test --------- Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			532 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			532 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { defineConfig } from 'vitest/config';
 | 
						|
import react from '@vitejs/plugin-react';
 | 
						|
import path from 'path';
 | 
						|
 | 
						|
export default defineConfig({
 | 
						|
    plugins: [react()],
 | 
						|
    test: {
 | 
						|
        globals: true,
 | 
						|
        environment: 'happy-dom',
 | 
						|
        setupFiles: './src/test/setup.ts',
 | 
						|
        coverage: {
 | 
						|
            reporter: ['text', 'json', 'html'],
 | 
						|
            exclude: ['node_modules/', 'src/test/setup.ts'],
 | 
						|
        },
 | 
						|
    },
 | 
						|
    resolve: {
 | 
						|
        alias: {
 | 
						|
            '@': path.resolve(__dirname, './src'),
 | 
						|
        },
 | 
						|
    },
 | 
						|
});
 |