diff --git a/libs/remix-tests/jest.config.js b/libs/remix-tests/jest.config.js index 1fe82f05e3..2662a3a2e6 100644 --- a/libs/remix-tests/jest.config.js +++ b/libs/remix-tests/jest.config.js @@ -6,8 +6,18 @@ module.exports = { transform: { '^.+\\.[tj]sx?$': 'ts-jest', }, + rootDir: "./", testTimeout: 30000, - moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json', 'sol'], - coverageDirectory: '../../coverage/libs/remix-tests' + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json'], + // Coverage + collectCoverage: true, + coverageReporters: ['text', 'text-summary'], + collectCoverageFrom: [ + "**/*.ts", + "!**/sol/**", + "!src/types.ts", + "!src/logger.ts" + ], + coverageDirectory: '../../coverage/libs/remix-tests', }; \ No newline at end of file