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:
- Create a new repo in your account and note the git url
- Clone this repo
- Solve the challenge
- Set your new repo as the origin:
git remote set-url origin ${your repo url}
- Push your solution to your repo