storybook/code/renderers/vue3/vitest.config.ts
2023-10-10 11:24:47 -04:00

17 lines
453 B
TypeScript

/* eslint-disable import/no-extraneous-dependencies */
import { defineConfig, mergeConfig } from 'vitest/config';
import { sep, posix } from 'path';
import vue from '@vitejs/plugin-vue';
import { vitestCommonConfig } from '../../vitest.workspace';
export default mergeConfig(
vitestCommonConfig,
defineConfig({
test: {
environment: 'jsdom',
name: __dirname.split(sep).slice(-2).join(posix.sep),
},
plugins: [vue()],
})
);