mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
15 lines
472 B
TypeScript
15 lines
472 B
TypeScript
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
import { defaultExclude, defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
plugins: [tsconfigPaths()],
|
|
test: {
|
|
alias: {
|
|
'@graphql-hive/core': new URL('./packages/libraries/core/src/index.ts', import.meta.url)
|
|
.pathname,
|
|
},
|
|
globals: true,
|
|
exclude: [...defaultExclude, 'integration-tests', 'packages/migrations/test'],
|
|
setupFiles: ['./scripts/serializer.ts'],
|
|
},
|
|
});
|