As an engineer, you will be expected to ensure that all new features and fixes do not cause regressions or headaches for active users. Tests are an important tool for keeping our apps usable and bug-free. However, tests are only useful if they are reliable. This challenge will test your ability to understand and fix a flaky test of a React app.
The test for this app sometimes passes and sometimes fails. You should be able to quickly figure out a change that will make the test 100% reliable.
You may modify any file or files except those in the src/
directory.
You must follow these steps for your solution to be accepted
Forking this repo is an immediate disqualification
How to attempt this challenge:
- Clone this challenge repo
- Solve the challenge locally
- Create a new repo in your GitHub account and note the git url
- Set your new repo as the origin for your local solution:
git remote set-url origin ${your repo url}
- Push the solution to your repo