23 lines
774 B
TypeScript
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',
|
|
},
|
|
},
|
|
});
|