parent
471361f178
commit
43195b4971
@ -1,4 +0,0 @@ |
|||||||
|
|
||||||
const nxPreset = require('@nrwl/jest/preset'); |
|
||||||
|
|
||||||
module.exports = { ...nxPreset } |
|
@ -1,7 +1,7 @@ |
|||||||
{ |
{ |
||||||
"extends": "../../tsconfig.base.json", |
"extends": "../../tsconfig.base.json", |
||||||
"compilerOptions": { |
"compilerOptions": { |
||||||
"types": ["jest", "node"] |
"types": ["node"] |
||||||
}, |
}, |
||||||
"include": ["**/*.ts"] |
"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", |
"extends": "../../tsconfig.base.json", |
||||||
"compilerOptions": { |
"compilerOptions": { |
||||||
"types": ["jest", "node"], |
"types": ["node"], |
||||||
}, |
}, |
||||||
"include": ["**/*.ts"] |
"include": ["**/*.ts"] |
||||||
} |
} |
Loading…
Reference in new issue