mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
21 lines
507 B
TypeScript
21 lines
507 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@moonshot-ai/agent-core': fileURLToPath(new URL('../agent-core/src/index.ts', import.meta.url)),
|
|
'@moonshot-ai/kimi-code-oauth': fileURLToPath(
|
|
new URL('../oauth/src/index.ts', import.meta.url),
|
|
),
|
|
},
|
|
},
|
|
test: {
|
|
name: 'kimi-sdk',
|
|
env: {
|
|
KIMI_LOG_LEVEL: 'off',
|
|
},
|
|
include: ['test/**/*.test.ts'],
|
|
},
|
|
});
|