-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add the Mock API calls for Login and Student API calls #80
Conversation
Create a separate folder for student and keep a file in it and add these student mocks in that. Similarly separate one for login. And then import then here. That will be a good coding style. |
Also create const variables for large responses and define then in the starting. That will make the code looks good. |
src/mocks/handlers.js
Outdated
offers: [{ | ||
designation: "Software Developer", | ||
company_name: "Make My Trip", | ||
application_id: "LLW4STE76GEJYOR", |
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.
See that this application I’d is also returned in getDashboard
Co-authored-by: Gowtham Sai <[email protected]>
Did u try running these mocks? @Rohitgour03 |
like I'm seeing some naming differences |
Add the Mock API calls for Login and Student API calls.