2023-09-14 16:42:06 +02:00

14 lines
337 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: 'node',
name: __dirname.split(sep).slice(-2).join(posix.sep),
},
})
);