- Implement WebSocket augmentation for real-time communication - Implement WebRTC augmentation for peer-to-peer connections - Implement HTTP augmentation as minimal REST fallback - Add auto-discovery augmentation for data pattern analysis - Add adaptive storage augmentation for intelligent resource management - Add environment adapter augmentation for universal compatibility - Template auto-detects environment (browser, Node.js, serverless, containers) - Intelligent transport selection (WebRTC → WebSocket → HTTP) - Automatic storage optimization (memory → filesystem → S3) - Zero configuration required - just npm start - Includes intelligent verb scoring by default - Works in any environment without configuration - Full documentation and examples included
26 lines
No EOL
638 B
JavaScript
26 lines
No EOL
638 B
JavaScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
timeout: 60000, // 60 seconds for model loading
|
|
testTimeout: 60000,
|
|
hookTimeout: 60000,
|
|
teardownTimeout: 60000,
|
|
reporters: process.env.CI ? ['json'] : ['verbose'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: [
|
|
'coverage/**',
|
|
'dist/**',
|
|
'**/node_modules/**',
|
|
'**/*.config.js',
|
|
'**/*.config.ts',
|
|
'tests/**'
|
|
]
|
|
},
|
|
setupFiles: ['./tests/setup.js'],
|
|
globalSetup: ['./tests/globalSetup.js']
|
|
}
|
|
}) |