jellyfin-sdk-typescript/jest.config.js
2022-07-11 17:21:58 -04:00

17 lines
363 B
JavaScript

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