console/vitest.config.ts
renovate[bot] 4de72a5299
chore(deps): update dependency vitest to v1 (#3526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2023-12-05 10:06:15 +01:00

21 lines
671 B
TypeScript

import { defaultExclude, defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
alias: {
'@hive/usage-common': new URL(
'./packages/services/usage-common/src/index.ts',
import.meta.url,
).pathname,
'@hive/service-common': new URL(
'./packages/services/service-common/src/index.ts',
import.meta.url,
).pathname,
'@graphql-hive/core': new URL('./packages/libraries/core/src/index.ts', import.meta.url)
.pathname,
},
exclude: [...defaultExclude, 'integration-tests', 'packages/migrations/test'],
setupFiles: ['./scripts/serializer.ts'],
},
});