storybook/code/addons/measure/vitest.config.ts
2024-03-06 12:26:54 +01:00

14 lines
338 B
TypeScript

import { defineConfig, mergeConfig } from 'vitest/config';
import { sep, posix } from 'path';
import { vitestCommonConfig } from '../../vitest.workspace';
export default mergeConfig(
vitestCommonConfig,
defineConfig({
test: {
environment: 'jsdom',
name: __dirname.split(sep).slice(-1).join(posix.sep),
},
})
);