Coding task · JavaScript and TypeScript course · Module 11: Testing with Jest
Use spyOn to monitor existing methods of an object.
Monitor the park system's methods using spyOn and verify calls.