cherry-studio/packages/aiCore/vitest.config.ts
suyao ecc08bd3f7
feat: integrate image generation capabilities and enhance testing framework
- Added support for image generation in the `RuntimeExecutor` with a new `generateImage` method.
- Updated `aiCore` package to include `vitest` for testing, with new test scripts added.
- Enhanced type definitions to accommodate image model handling in plugins.
- Introduced new methods for resolving and executing image generation with plugins.
- Updated package dependencies in `package.json` to include `vitest` and ensure compatibility with new features.
2025-08-01 10:45:31 +08:00

14 lines
192 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
environment: 'node',
globals: true
},
resolve: {
alias: {
'@': './src'
}
}
})