Files
electro4ort/apps/api/vitest.config.e2e.ts
olehhapuk 98b2e0ce4b
CI / Lint, types, build, tests (push) Canceled after 0s
CI / Docker images build (push) Canceled after 0s
update
2026-12-03 10:53:09 +02:00

23 lines
774 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: { tsconfigPaths: true },
test: {
globals: true,
root: './',
include: ['**/*.e2e-spec.ts'],
env: {
// Specs call the API far faster than a person would; the spec that
// covers the limits switches them back on for itself.
RATE_LIMIT: 'false',
// Uploaded files stay in memory, away from the folder development uses.
STORAGE_DRIVER: 'memory',
// Calls are switched on, but no media server is ever contacted: the
// spec that covers calls puts a stand-in in its place.
LIVEKIT_URL: 'ws://livekit.invalid',
LIVEKIT_API_KEY: 'e2e-key',
LIVEKIT_API_SECRET: 'e2e-secret-0123456789-0123456789-0123',
},
},
});