Skip to content

Commit

Permalink
chore: add more module name map
Browse files Browse the repository at this point in the history
  • Loading branch information
Barrior committed Oct 25, 2024
1 parent 2beb1cf commit 5e4189d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const config: Config.InitialOptions = {
'^@test/(.*)': '<rootDir>/test/$1',
'^@core-react/(.*)': '<rootDir>/packages/core-react/src/$1',
'^@form-render-react/(.*)': '<rootDir>/packages/form-render-react/src/$1',
'^@search-react/(.*)': '<rootDir>/packages/search-react/src/$1',
'^@search-table-react/(.*)': '<rootDir>/packages/search-table-react/src/$1',
},
roots: ['<rootDir>/test/'],
// 排查 test 目录以 @ 符号开头的目录,如 @helpers、core-react/@helpers
Expand Down

0 comments on commit 5e4189d

Please sign in to comment.