mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
aafc258ad9
* ci(codecov): add jest coverage report add coverage report on core and ui project add codecov uploader job * ci: add report upload github workflow action add report upload github workflow action * ci: fix ci replace github test actions with test:report fix ci replace github test actions with test:report
16 lines
441 B
JavaScript
16 lines
441 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
setupFilesAfterEnv: ['jest-matcher-specific-error'],
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: 'tsconfig.test.json',
|
|
},
|
|
},
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/src/$1',
|
|
},
|
|
coveragePathIgnorePatterns: ['/node_modules/', '/build/'],
|
|
coverageReporters: ['text-summary', 'lcov'],
|
|
};
|