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
32 lines
670 B
TypeScript
32 lines
670 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: 60_000,
|
|
hookTimeout: 60_000,
|
|
pool: 'forks',
|
|
poolOptions: {
|
|
forks: {
|
|
singleFork: true,
|
|
},
|
|
},
|
|
sequence: {
|
|
concurrent: false,
|
|
},
|
|
setupFiles: ['src/cli/__tests__/constants/setupTest.ts'],
|
|
globalSetup: undefined,
|
|
onConsoleLog: () => true,
|
|
},
|
|
});
|