start project
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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'],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user