User页面的增删改查;开发模式接口地址使用本地魔方,端口7166;yarn.lock锁定版本;gitignore忽略编辑器目录及临时目录
Yann authored at 2025-06-22 23:27:02
422.00 B
cube-front
import { fileURLToPath } from 'node:url';
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config';
import viteConfig from './vite.config';

export default mergeConfig(
  viteConfig({ command: 'serve', mode: 'test' }),
  defineConfig({
    test: {
      environment: 'jsdom',
      exclude: [...configDefaults.exclude, 'e2e/**'],
      root: fileURLToPath(new URL('./', import.meta.url)),
    },
  }),
);