d74d74da4c
# 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
32 lines
662 B
TypeScript
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,
|
|
},
|
|
});
|