Skip to content

Commit

Permalink
test: ignore package.json from src (#1590)
Browse files Browse the repository at this point in the history
## Proposed change

## Related issues

- 🐛 Fixes #1589

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
  • Loading branch information
vscaiceanu-1a authored Apr 4, 2024
2 parents 7020294 + 21ad499 commit 6674f5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest.config.ut.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ module.exports.getJestProjectConfig = (rootDir, isAngularSetup) => {
rootDir: '.',
moduleNameMapper,
modulePathIgnorePatterns: [
'<rootDir>/dist'
'<rootDir>/dist',
'<rootDir>/src/package.json'
],
testPathIgnorePatterns: [
'<rootDir>/.*/templates/.*',
Expand Down

0 comments on commit 6674f5f

Please sign in to comment.