Skip to content

Commit

Permalink
thisyahlen/chore: setup path for jest config for aliases (binary-com#…
Browse files Browse the repository at this point in the history
  • Loading branch information
thisyahlen-deriv committed Mar 20, 2024
1 parent b05e4b4 commit feb87f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/tradershub/jest.config.js
Expand Up @@ -6,6 +6,11 @@ module.exports = {
'\\.css$': '<rootDir>/../../__mocks__/styleMock.js',
'\\.s(c|a)ss$': '<rootDir>/../../__mocks__/styleMock.js',
'^.+\\.svg$': '<rootDir>/../../__mocks__/fileMock.js',
'^@/(.*)$': '<rootDir>/src/$1',
'^@cfd/components(.*)$': '<rootDir>/src/features/cfd/components/$1',
'^@cfd/constants$': '<rootDir>/src/features/cfd/constants',
'^@cfd/flows(.*)$': '<rootDir>/src/features/cfd/flows/$1',
'^@cfd/screens(.*)$': '<rootDir>/src/features/cfd/screens/$1',
},
transformIgnorePatterns: ['/node_modules/(?!(@deriv-com/ui)).+\\.js$'],
};

0 comments on commit feb87f8

Please sign in to comment.