Download packages/node-sdk/vitest.config.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/node-sdk/vitest.config.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/node-sdk/vitest.config.ts
-
curl -L -o vitest.config.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/node-sdk/vitest.config.ts
428 Bytes
| import { fileURLToPath } from 'node:url'; | |
| import { defineConfig } from 'vitest/config'; | |
| export default defineConfig({ | |
| resolve: { | |
| alias: { | |
| '@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'], | |
| testTimeout: 15_000, | |
| }, | |
| }); | |