mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 20:13:21 +03:00
Add a concise test report with just the errors (#4220)
* Add a concise test report with just the errors Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> * Refactor according to review Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> * Add a concise test report Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: KlingerMatheus <klinger.matheus@gitstart.dev> Co-authored-by: v1b3m <vibenjamin6@gmail.com>
This commit is contained in:
parent
6bb7042a68
commit
a7733b24df
@ -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: ['<rootDir>/src/**/*.ts'],
|
||||
coveragePathIgnorePatterns: [
|
||||
'states/.+State.ts$',
|
||||
|
@ -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",
|
||||
|
@ -1,4 +1,6 @@
|
||||
module.exports = {
|
||||
// to enable logs, comment out the following line
|
||||
silent: true,
|
||||
clearMocks: true,
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
|
Loading…
Reference in New Issue
Block a user