mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
20 lines
368 B
TypeScript
20 lines
368 B
TypeScript
import { resolve } from 'node:path';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
const appRoot = import.meta.dirname;
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@': resolve(appRoot, 'src'),
|
|
},
|
|
},
|
|
test: {
|
|
name: 'cli',
|
|
env: {
|
|
KIMI_LOG_LEVEL: 'off',
|
|
},
|
|
include: ['test/**/*.test.ts', 'test/**/*.test.tsx'],
|
|
},
|
|
});
|