Skip to content

Commit

Permalink
test: fix test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 committed Sep 5, 2024
1 parent 1be5184 commit 1844694
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 43 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ jobs:
- name: Install dependencies
run: |
pnpm install
- name: "Continuous Integration: build"
run: |
pnpm run --if-present build
- name: "Continuous Integration: test"
run: |
pnpm run --if-present test
Expand Down
3 changes: 0 additions & 3 deletions packages/component-library-react/jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ const customJestConfig = {
testEnvironment: 'jest-environment-jsdom',
testPathIgnorePatterns: ['/dist/'],
// transformIgnorePatterns: ['node_modules/(?!@utrecht/web-component-library-react)'],
moduleNameMapper: {
'^@utrecht/(.*)$': '<rootDir>/packages/$1/src/',
},
};

export default createJestConfig(customJestConfig);
11 changes: 5 additions & 6 deletions packages/component-library-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@testing-library/dom": "8.20.1",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.5.1",
"@types/jest": "29.5.11",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.12",
"@types/lodash.chunk": "4.2.9",
"@types/react": "18.3.3",
"@types/testing-library__jest-dom": "5.14.9",
"@utrecht/accordion-css": "workspace:*",
"@utrecht/alert-css": "workspace:*",
"@utrecht/alert-dialog-css": "workspace:*",
Expand Down
105 changes: 72 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1844694

Please sign in to comment.