n8n/packages/@n8n/task-runner/vite.config.ts
Matsu 4ab7cd0bec
test: Enable restoreMocks by default in shared vitest configs (#33526)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 10:03:01 +00:00

17 lines
335 B
TypeScript

import { createVitestConfigWithDecorators } from '@n8n/vitest-config/node-decorators';
import path from 'node:path';
import { mergeConfig } from 'vite';
export default mergeConfig(
createVitestConfigWithDecorators({
testTimeout: 10_000,
}),
{
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
},
);