jellyfin-sdk-typescript/jest.config.js
2022-11-10 20:59:30 +01:00

15 lines
369 B
JavaScript

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
testEnvironment: 'node',
runner: 'groups',
preset: 'ts-jest/presets/js-with-ts',
transform: {
'<transform_regex>': ['ts-jest', { allowJs: true }]
},
// Coverage options
collectCoverageFrom: [ 'src/**' ],
coveragePathIgnorePatterns: [ '__helpers__', 'generated-client' ]
};