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