Files
cyberyan_linkedin_search/frontend/vitest.contract.config.ts
T

17 lines
453 B
TypeScript
Raw Normal View History

2026-09-04 12:52:21 +03:30
import { defineConfig } from 'vite';
/**
* Separate from vitest.config.ts on purpose: contract tests make real HTTP
* calls to the running docker compose stack and must never be picked up by
* a plain `npm test` (which has to stay hermetic and fast, and must pass
* with no services running at all).
*
* npm run test:contract
*/
export default defineConfig({
test: {
environment: 'node',
include: ['contract/**/*.test.ts'],
},
});