parent
56a08b2d91
commit
a9f050d082
@ -1,4 +0,0 @@ |
||||
|
||||
const nxPreset = require('@nrwl/jest/preset'); |
||||
|
||||
module.exports = { ...nxPreset } |
@ -1,7 +1,7 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"types": ["jest", "node"] |
||||
"types": ["node"] |
||||
}, |
||||
"include": ["**/*.ts"] |
||||
} |
@ -1,26 +0,0 @@ |
||||
module.exports = { |
||||
name: 'remix-solidity', |
||||
preset: '../../jest.config.js', |
||||
verbose: true, |
||||
silent: false, // Silent console messages, specially the 'remix-simulator' ones
|
||||
transform: { |
||||
'^.+\\.[tj]sx?$': ['ts-jest', |
||||
{ |
||||
useESM: true, |
||||
}] |
||||
}, |
||||
transformIgnorePatterns: ["/node_modules/", "/dist/", "\\.pnp\\.[^\\/]+$"], |
||||
rootDir: "./", |
||||
testTimeout: 40000, |
||||
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-solidity' |
||||
}; |
@ -1,7 +1,7 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"types": ["jest", "node"], |
||||
"types": ["node"], |
||||
}, |
||||
"include": ["**/*.ts"] |
||||
} |
Loading…
Reference in new issue