Commit cacbeca5 authored by aniket-engg's avatar aniket-engg Committed by Aniket

test coverage added

parent f02b026b
...@@ -6,8 +6,18 @@ module.exports = { ...@@ -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',
}; };
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment