* move TTC capture to unit test * progress with artifact * fmt * abstract cases * add another case * add another test * update snapshots with proper file names * force to JSON * fmt * make jest happy * add another example and other tweaks * fix * tweak * add logs * more logs * strip out kcl version * remove logs * add comment explainer * more comments * more comment * remove package-lock line
		
			
				
	
	
		
			23 lines
		
	
	
		
			575 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			575 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { defineConfig } from 'vitest/config'
 | 
						|
import tsconfigPaths from 'vite-tsconfig-paths'
 | 
						|
 | 
						|
export default defineConfig({
 | 
						|
  plugins: [tsconfigPaths()],
 | 
						|
  test: {
 | 
						|
    globals: true,
 | 
						|
    globalSetup: './src/test-setup/global-setup.ts',
 | 
						|
    environment: 'happy-dom',
 | 
						|
    setupFiles: ['./src/setupTests.ts'],
 | 
						|
    include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
 | 
						|
    exclude: [
 | 
						|
      '**/node_modules/**',
 | 
						|
      '**/dist/**',
 | 
						|
      '**/cypress/**',
 | 
						|
      '**/.{idea,git,cache,output,temp}/**',
 | 
						|
    ],
 | 
						|
    deps: {
 | 
						|
      external: [/playwright/],
 | 
						|
    },
 | 
						|
  },
 | 
						|
})
 |