console/integration-tests/vite.config.ts
2024-04-07 11:57:03 +03:00

17 lines
548 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
alias: {
'@app/gql/graphql': new URL('./testkit/gql/graphql.ts', import.meta.url).pathname,
'@app/gql': new URL('./testkit/gql/index.ts', import.meta.url).pathname,
'@hive/service-common': new URL(
'../packages/services/service-common/src/index.ts',
import.meta.url,
).pathname,
},
setupFiles: ['dotenv/config', '../scripts/serializer.ts', './expect.ts'],
testTimeout: 90_000,
},
});