diff --git a/packages/twenty-front/jest.config.ts b/packages/twenty-front/jest.config.ts index 70b145e3d9..77e9ca3575 100644 --- a/packages/twenty-front/jest.config.ts +++ b/packages/twenty-front/jest.config.ts @@ -1,4 +1,6 @@ export default { + // to enable logs, comment out the following line + silent: true, setupFilesAfterEnv: ['./src/setupTests.ts'], testEnvironment: 'jsdom', transform: { @@ -19,7 +21,6 @@ export default { functions: 60, }, }, - collectCoverage: true, collectCoverageFrom: ['/src/**/*.ts'], coveragePathIgnorePatterns: [ 'states/.+State.ts$', diff --git a/packages/twenty-front/package.json b/packages/twenty-front/package.json index 99a403fcac..09d0211254 100644 --- a/packages/twenty-front/package.json +++ b/packages/twenty-front/package.json @@ -18,7 +18,7 @@ "fmt:fix": "prettier --cache --write \"src/**/*.ts\" \"src/**/*.tsx\"", "fmt": "prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"", "test": "jest", - "test-watch": "jest --coverage=false --watch", + "test-watch": "jest --watch", "tsup": "tsup", "coverage": "jest --coverage", "storybook:modules:dev": "STORYBOOK_SCOPE=modules yarn storybook:dev", diff --git a/packages/twenty-server/jest.config.ts b/packages/twenty-server/jest.config.ts index 59b1f41e82..53d10fd3ec 100644 --- a/packages/twenty-server/jest.config.ts +++ b/packages/twenty-server/jest.config.ts @@ -1,4 +1,6 @@ module.exports = { + // to enable logs, comment out the following line + silent: true, clearMocks: true, preset: 'ts-jest', testEnvironment: 'node',