mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-18 05:44:21 +01:00
- Changed the setup file path in vitest configuration for better organization. - Refactored the EventBus implementation to streamline event handling. - Updated various test files to utilize new testing layers for improved clarity and maintainability. - Introduced new utility layers for file system and persistent service mocks to enhance test reliability. - Enhanced the platform layer to include necessary services for testing environments.
14 lines
240 B
TypeScript
14 lines
240 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
const config = defineConfig({
|
|
test: {
|
|
globals: true,
|
|
setupFiles: ["src/testing/setup/vitest.setup.ts"],
|
|
env: {
|
|
ENVIRONMENT: "local",
|
|
},
|
|
},
|
|
});
|
|
|
|
export default config;
|