Skip to content

Commit

Permalink
add comment on jest config file
Browse files Browse the repository at this point in the history
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
  • Loading branch information
jackiehanyang committed May 30, 2023
1 parent ee14cc8 commit 3295183
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ module.exports = {
testPathIgnorePatterns: ['<rootDir>/build/', '<rootDir>/node_modules/'],
transformIgnorePatterns: ['<rootDir>/node_modules'],
globalSetup: '<rootDir>/global-setup.js',

/**
* This configuration specifies different file extensions
* and the corresponding transformers to be used
*/
transform: {
'\\.[jt]sx?$': 'babel-jest',
'^.+\\.svg$': '<rootDir>/test/mocks/transformMock.ts',
Expand Down

0 comments on commit 3295183

Please sign in to comment.