Skip to content

Commit

Permalink
test(react): fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jan 22, 2021
1 parent 4069857 commit 322e1fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/jest.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
},
coveragePathIgnorePatterns: [
'/node_modules/',
'/__tests__/',
'/esm/',
'/lib/',
'package.json',
Expand Down
13 changes: 11 additions & 2 deletions tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"jsx": "react"
}
"jsx": "react",
"paths": {
"@formily/*": [
"./packages/*/src"
]
}
},
"exclude": [
"./packages/*/esm",
"./packages/*/lib"
]
}

0 comments on commit 322e1fd

Please sign in to comment.