mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
24 lines
578 B
JavaScript
24 lines
578 B
JavaScript
module.exports = {
|
|
rootDir: process.cwd(),
|
|
projects: [
|
|
'<rootDir>/packages/core',
|
|
'<rootDir>/packages/runtime',
|
|
'<rootDir>/packages/editor',
|
|
'<rootDir>/packages/editor-sdk',
|
|
'<rootDir>/packages/shared',
|
|
],
|
|
collectCoverage: true,
|
|
collectCoverageFrom: ['**/src/**/*.[jt]s?(x)'],
|
|
coveragePathIgnorePatterns: [],
|
|
coverageReporters: ['text-summary', 'lcov'],
|
|
coverageThreshold: {
|
|
global: {
|
|
//FIXME: increase the threshold after add unit test
|
|
branches: 0,
|
|
functions: 0,
|
|
lines: 0,
|
|
// statements: -5,
|
|
},
|
|
},
|
|
};
|