-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dsg): add moduleNameMapper to the jest configuration of the server #7411
fix(dsg): add moduleNameMapper to the jest configuration of the server #7411
Conversation
βοΈ Nx Cloud ReportCI is running/has finished running commands for commit 91521c5. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. π See all runs for this CI Pipeline Execution
β Successfully ran 3 targetsSent with π from NxCloud. |
@overbit can you please review this one? |
@77629296 can you please update the snapshots of the snapshot testing? npx nx affected --target update-snapshot |
βοΈ Nx Cloud ReportCI is running/has finished running commands for commit e40fcee. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. π See all runs for this CI Pipeline Execution β Successfully ran 1 targetSent with π from NxCloud. |
@mulygottlieb this would need your approval |
Close: #5924 #7048
PR Details
before:
![image](https://private-user-images.githubusercontent.com/22374488/282435572-7dedfa59-7f0d-4d21-b8d0-3610704b0dfb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMTgyNzQsIm5iZiI6MTcyMjMxNzk3NCwicGF0aCI6Ii8yMjM3NDQ4OC8yODI0MzU1NzItN2RlZGZhNTktN2YwZC00ZDIxLWI4ZDAtMzYxMDcwNGIwZGZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDA1MzkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY3ZmY5ZWVmZTc2MDY2NmM3MjEwZjdmZDFmMWFiNWNhNWM3MDNiMzk3ZDM5MDkwZmQ2ODE1ODRjMDY1NDljYjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-AQIe0eDQNmvkAKJjReUTEKqrqW-ofh4rFYs8kA7ZQU)
after:
![image](https://private-user-images.githubusercontent.com/22374488/282436020-1d7d73b9-213b-4fd3-b533-fef1359e4a93.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMTgyNzQsIm5iZiI6MTcyMjMxNzk3NCwicGF0aCI6Ii8yMjM3NDQ4OC8yODI0MzYwMjAtMWQ3ZDczYjktMjEzYi00ZmQzLWI1MzMtZmVmMTM1OWU0YTkzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDA1MzkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI2MDM3Y2JiNWU5ODJmYTg2YjVlNjlhZDNhOWQzZjEyMjkxZjNlMzUzMGMzMGU5ODZmMDc0NmI2ZWJjZjI2YzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qVJLxSUJb1TrOAJFiGI462Xw09sSIzk6J3O47FxRCu8)
![image](https://private-user-images.githubusercontent.com/22374488/282437181-7e380578-9083-46fa-a457-fd66c1d3f6a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzMTgyNzQsIm5iZiI6MTcyMjMxNzk3NCwicGF0aCI6Ii8yMjM3NDQ4OC8yODI0MzcxODEtN2UzODA1NzgtOTA4My00NmZhLWE0NTctZmQ2NmMxZDNmNmE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMwVDA1MzkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNiZjZkMTcwOTU5ZmU5YjVhOTQzN2JjM2ZhMGQ2NjI1OGUxOTllZGUwNmUxYzQ2YjY3NzFiZTljYzhlYTVmMjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uoCZ_Xp0QwoqTNrsgWJPE2MIthkphVwXTZVBGsytsj8)
π€ Generated by Copilot at 91521c5
Summary
π§πβ
Add Jest module mapping for custom validators in data service generator. This enables testing the validation logic for the generated data models.
Walkthrough
PR Checklist
npm test
doesn't throw any errorIMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.