|
|
|
@ -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', |
|
|
|
|
}; |
|
|
|
|
|