Adrià Vilanova Martínez | b47ec06 | 2023-01-15 17:43:26 +0100 | [diff] [blame] | 1 | /* |
| 2 | * For a detailed explanation regarding each configuration property, visit: |
| 3 | * https://jestjs.io/docs/configuration |
| 4 | */ |
| 5 | |
| 6 | module.exports = { |
Adrià Vilanova Martínez | d7c19de | 2024-09-27 23:26:01 +0200 | [diff] [blame] | 7 | preset : 'ts-jest/presets/js-with-ts', |
Adrià Vilanova Martínez | ab4c80e | 2024-05-04 19:53:33 +0200 | [diff] [blame] | 8 | moduleFileExtensions : ['js', 'mjs', 'ts'], |
| 9 | testRegex : '(/__tests__/.*|(\\.|/)(test|spec))\\.m?[jt]sx?$', |
| 10 | coverageProvider : 'v8', |
Adrià Vilanova Martínez | ce9df17 | 2024-10-19 15:55:15 +0200 | [diff] [blame] | 11 | coverageDirectory : './out/coverage/', |
Adrià Vilanova Martínez | ab4c80e | 2024-05-04 19:53:33 +0200 | [diff] [blame] | 12 | testEnvironment : 'jsdom', |
Adrià Vilanova Martínez | b47ec06 | 2023-01-15 17:43:26 +0100 | [diff] [blame] | 13 | }; |