mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			417 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			417 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import swc from 'unplugin-swc';
 | 
						|
import tsconfigPaths from 'vite-tsconfig-paths';
 | 
						|
import { defineConfig } from 'vitest/config';
 | 
						|
 | 
						|
export default defineConfig({
 | 
						|
  test: {
 | 
						|
    root: './',
 | 
						|
    globals: true,
 | 
						|
    include: ['test/medium/**/*.spec.ts'],
 | 
						|
    globalSetup: ['test/medium/globalSetup.ts'],
 | 
						|
    server: {
 | 
						|
      deps: {
 | 
						|
        fallbackCJS: true,
 | 
						|
      },
 | 
						|
    },
 | 
						|
  },
 | 
						|
  plugins: [swc.vite(), tsconfigPaths()],
 | 
						|
});
 |