Skip to content
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

[CP-2948] add conditional mock responses #1965

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Conversation

lkowalczyk87
Copy link
Collaborator

@lkowalczyk87 lkowalczyk87 commented Jul 10, 2024

JIRA Reference: CP-2948

📝 Description ️

💪 Checklist before requesting a review - nice to have

  • getState function in async thunk actions is correctly typed
  • redux selectors are used in components / prop drilling is reduce

❗ Checklist before merging a pull request

  • change went through the QA process
  • translations are updated in dedicated application
  • CHANGELOG.md is updated


if (index > -1) {
const response = responses[index]
console.log(index, response)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, remove console.log

MateuszMudita
MateuszMudita previously approved these changes Jul 12, 2024
This reverts commit 72d8bae.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants