Skip to content

Commit a592578

Browse files
authored
fix: 🐛 remove mocks and generator from jest watc (#9)
* fix: 🐛 remove mocks and generator from jest watc * refactor: 💡 change Sonar CLoud name to CI
1 parent 43bdc79 commit a592578

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Sonar Cloud
1+
name: CI
22
on:
33
push:
44
branches:
@@ -25,5 +25,3 @@ jobs:
2525
run: npm run build --if-present
2626
- name: Tests
2727
run: npm run test
28-
29-

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ const customJestConfig = {
2121
moduleNameMapper: {
2222
'^@/(.*)$': '<rootDir>/src/$1',
2323
},
24+
25+
modulePathIgnorePatterns: ['<rootDir>/generators/', '<rootDir>/src/mocks/'],
2426
}
2527

2628
module.exports = createJestConfig(customJestConfig)

0 commit comments

Comments
 (0)