Files
cyberyan_linkedin_search/frontend/vitest.contract.config.ts
T
mobiniqow 212074c5f5
CI / Backend (lint, types, tests) (push) Has been cancelled
CI / Frontend (lint, types, build) (push) Has been cancelled
CI / Docker images build (push) Has been cancelled
start project
2026-09-04 12:52:21 +03:30

17 lines
453 B
TypeScript

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'],
},
});