mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 22:47:17 +00:00
17 lines
548 B
TypeScript
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,
|
|
},
|
|
});
|