Skip to content
angular challenges logo Angular Challenges

๐ŸŸข Race Condition

Challenge #14

Created by Thomas Laforge

Information

The goal of this application is to display a list of topics in a modal when a button is clicked. The application functions correctly. However, your tech lead has asked you to add tests and they are failing.

Statement

Correct your application to pass the test

Constraints

  • I can see you coming ๐Ÿคฃ => You CANNOT change the test (the test is working fine) ๐Ÿ˜ณ
  • You CANNOT change the fakeGetHttpTopic method. A delay has been added to fake a slow network.

Run the test

HEADLESS : npx nx component-test rxjs-race-condition WATCH MODE : npx nx component-test rxjs-race-condition --watch

Contributors

Thanks to all the contributors who have helped make this documentation better!

  • tomalaforge
  • LMFinney