test coverage added

pull/43/head
aniket-engg 4 years ago committed by Aniket
parent f02b026b6a
commit cacbeca5a7
  1. 14
      libs/remix-tests/jest.config.js

@ -6,8 +6,18 @@ module.exports = {
transform: { transform: {
'^.+\\.[tj]sx?$': 'ts-jest', '^.+\\.[tj]sx?$': 'ts-jest',
}, },
rootDir: "./",
testTimeout: 30000, testTimeout: 30000,
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json', 'sol'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json'],
coverageDirectory: '../../coverage/libs/remix-tests' // Coverage
collectCoverage: true,
coverageReporters: ['text', 'text-summary'],
collectCoverageFrom: [
"**/*.ts",
"!**/sol/**",
"!src/types.ts",
"!src/logger.ts"
],
coverageDirectory: '../../coverage/libs/remix-tests',
}; };
Loading…
Cancel
Save