Files
twenty/packages/twenty-sdk/vitest.e2e.config.ts
T
Charles Bochet d74d74da4c Improvements on SDK watcher (#17291)
# Improve cross-entity duplicate detection in manifest validation

- Refactored findDuplicates to receive the full manifest, enabling
cross-entity duplicate checks
-ObjectExtensionEntityBuilder now validates that extension field IDs
don't conflict with object field IDs
- Renamed DuplicateId type to EntityIdWithLocation for clarity
- Updated all entity builders to use the new signature
2026-01-21 15:31:38 +01:00

32 lines
662 B
TypeScript

import tsconfigPaths from 'vite-tsconfig-paths';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [
tsconfigPaths({
root: __dirname,
ignoreConfigErrors: true,
}),
],
test: {
name: 'twenty-sdk-e2e',
environment: 'node',
include: ['src/**/*.e2e-spec.ts'],
globals: true,
testTimeout: 30000,
hookTimeout: 30000,
pool: 'forks',
poolOptions: {
forks: {
singleFork: true,
},
},
sequence: {
concurrent: false,
},
setupFiles: ['src/cli/__tests__/e2e/setupTest.ts'],
globalSetup: undefined,
onConsoleLog: () => true,
},
});