reorganize according to <img width="1243" height="725" alt="Pasted Graphic" src="https://github.com/user-attachments/assets/ba65dd10-8eec-4b13-ad49-9726edd3b79c" /> Not working yet
24 lines
581 B
TypeScript
24 lines
581 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-integration',
|
|
environment: 'node',
|
|
include: ['src/**/__integration__/**/*.{test,spec}.{ts,tsx}'],
|
|
exclude: ['**/node_modules/**', '**/.git/**'],
|
|
globals: true,
|
|
diff: {
|
|
truncateThreshold: 0,
|
|
},
|
|
fileParallelism: false,
|
|
setupFiles: ['src/cli/__tests__/constants/setupTest.ts'],
|
|
},
|
|
});
|