2024-03-06 12:26:54 +01:00

15 lines
392 B
TypeScript

/* eslint-disable import/no-extraneous-dependencies */
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(-1).join(posix.sep),
},
})
);