Skip to content

Commit

Permalink
chore(shared): 维护一个包含所有内置组件和属性的哈希表
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche authored and luckyadam committed Nov 19, 2019
1 parent c0dbc22 commit 6aba83c
Show file tree
Hide file tree
Showing 7 changed files with 476 additions and 42 deletions.
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { jsWithTs: tsjPreset } = require('ts-jest/presets')
const path = require('path')

module.exports = {
testEnvironment: 'node',
Expand Down Expand Up @@ -29,5 +30,8 @@ module.exports = {
'node_modules',
'utils'
],
testMatch: ['**/__tests__/?(*.)+(spec|test).[jt]s?(x)']
testMatch: ['**/__tests__/?(*.)+(spec|test).[jt]s?(x)'],
moduleNameMapper: {
'@tarojs/shared': path.join(__dirname, './packages/shared/src')
}
}
Loading

0 comments on commit 6aba83c

Please sign in to comment.