invite/vitest.config.ts
chris 2c78112a4f Initial commit: E-Invite, a self-hosted Evite-lite
Docker-ready Next.js + Prisma/Postgres e-invitation app: themed invite
pages, RSVP, comments, share links, email + SMS invites with
reply-to-RSVP-by-text, co-hosts, photo dropbox, and browser push
notifications.
2026-07-11 10:11:12 -04:00

15 lines
314 B
TypeScript

import { defineConfig } from 'vitest/config';
import path from 'node:path';
export default defineConfig({
test: {
environment: 'node',
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'server-only': path.resolve(__dirname, './src/test/server-only-stub.ts'),
},
},
});