2 Star 2 Fork 1

cf3b5 / fluidd_cn

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
jest.config.js 577 Bytes
Copy Edit Raw Blame History
/* eslint-disable @typescript-eslint/no-var-requires */
process.env.TZ = 'GMT'
module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
transformIgnorePatterns: [
'@/node_modules/(?!lodash-es|dayjs)'
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
'^tests/(.*)$': '<rootDir>/tests/$1'
},
collectCoverageFrom: ['src/**/*.{ts,vue}', '!**/node_modules/**'],
coverageReporters: ['html', 'text-summary'],
setupFiles: [
'<rootDir>/tests/unit/setup.ts'
],
globals: {
'ts-jest': {
log: true
}
}
}
1
https://gitee.com/cf3b5/fluidd_cn.git
git@gitee.com:cf3b5/fluidd_cn.git
cf3b5
fluidd_cn
fluidd_cn
develop

Search