-
Notifications
You must be signed in to change notification settings - Fork 0
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
#187570716 - chore :setup unit teting with jest #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi James, thanks for the pull request. Just a quick note, the task description specified using Mocha Chai for testing, but I noticed Jest was used instead. Let's ensure consistency with the task requirements. Could you please revise the tests to use Mocha Chai as described? Appreciate your attention to this detail!
d02707f
to
1f7c192
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
82eb524
to
2511b5e
Compare
2511b5e
to
b0ccfd5
Compare
clearMocks: true, | ||
resetMocks: true, | ||
restoreMocks: true, | ||
clearMocks: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate key 'clearMocks'.
#187570716 - chore :setup unit teting with jest
What does this PR does?
this PR setup initila unit testing for our backend api
How can this be tested?
1.Clone repo
2. checkout to ft-setup-testing
3. install dependencies
4. run test by
npm run test
Pivot tracker id -> #187570716
##screenshots
![mnbcxx](https://private-user-images.githubusercontent.com/111005167/329855779-7d5848c5-ec37-4552-95fe-39197f110ff3.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjY5NTQsIm5iZiI6MTczOTMyNjY1NCwicGF0aCI6Ii8xMTEwMDUxNjcvMzI5ODU1Nzc5LTdkNTg0OGM1LWVjMzctNDU1Mi05NWZlLTM5MTk3ZjExMGZmMy5QTkc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwMjE3MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMTNiYTE2NmE1MDAwMmYwODM2ZTVjY2U2NTcwNTljZDk4MTkzY2E5MzE5MzgzNjhhZDVhNjBmMWIyM2U0ODk0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.TLIC8GmhxscTgjoDwxnc-YInQ0y9Pt2EKrDv4fMGsQ8)