blob: 19e70a7d891588272e30b9b0f4094daadb54e858 [file] [log] [blame]
Adrià Vilanova Martínezb47ec062023-01-15 17:43:26 +01001/*
2 * For a detailed explanation regarding each configuration property, visit:
3 * https://jestjs.io/docs/configuration
4 */
5
6module.exports = {
Adrià Vilanova Martínezd7c19de2024-09-27 23:26:01 +02007 preset : 'ts-jest/presets/js-with-ts',
Adrià Vilanova Martínezab4c80e2024-05-04 19:53:33 +02008 moduleFileExtensions : ['js', 'mjs', 'ts'],
9 testRegex : '(/__tests__/.*|(\\.|/)(test|spec))\\.m?[jt]sx?$',
10 coverageProvider : 'v8',
Adrià Vilanova Martínezce9df172024-10-19 15:55:15 +020011 coverageDirectory : './out/coverage/',
Adrià Vilanova Martínezab4c80e2024-05-04 19:53:33 +020012 testEnvironment : 'jsdom',
Adrià Vilanova Martínezb47ec062023-01-15 17:43:26 +010013};