jellyfin-sdk-typescript/jest.config.cjs
2023-03-15 09:57:36 -04: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' ]
};