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

test improve yes no repartition #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FlorentDancy
Copy link
Owner

To be able to have (almost) a 50/50 chance for answers, I "flip a coin" (line 211).

  • Heads : I pick a random actor amongst all the actors from all the most popular movies,
  • Tails : I pick an actor of the movie selected.

My problem is at line 216, the condition is never true, when it should always be. The problem might be coming from my asynchronous call is this.getData(), but I used a promise so it shouldn't be a problem...

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.

1 participant