storybook/code/frameworks/angular/vitest.config.ts
2024-03-18 12:21:10 +01:00

13 lines
361 B
TypeScript

/* eslint-disable import/no-extraneous-dependencies */
import { defineConfig, mergeConfig } from 'vitest/config';
import { vitestCommonConfig } from '../../vitest.workspace';
export default defineConfig(({ mode }) => {
return mergeConfig(vitestCommonConfig, {
test: {
setupFiles: ['src/test-setup.ts'],
environment: 'jsdom',
},
});
});