1
0
mirror of https://gitee.com/bitdance-team/chrome-extension synced 2025-10-07 16:35:15 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

feat: add monorepo

This commit is contained in:
kaz
2022-01-26 18:46:54 +08:00
parent 1659cde35a
commit 628d37cbc8
65 changed files with 11803 additions and 11 deletions

View File

@@ -0,0 +1,21 @@
module.exports = {
displayName: 'plugin-ui',
preset: '../../jest.preset.js',
transform: {
'^.+.vue$': 'vue3-jest',
'.+.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$':
'jest-transform-stub',
'^.+.tsx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'vue', 'js', 'json'],
coverageDirectory: '../../coverage/packages/plugin-ui',
snapshotSerializers: ['jest-serializer-vue'],
globals: {
'ts-jest': {
tsconfig: 'packages/plugin-ui/tsconfig.spec.json',
},
'vue-jest': {
tsConfig: 'packages/plugin-ui/tsconfig.spec.json',
},
},
};