Symptom
The playlist duration test passes, but it expects the end time to be 10 months away for a 10-minute playlist. The test was written to match buggy code, creating a false positive.
What you know
The CuratedPlaylist code has been fixed (it correctly uses setMinutes), but the test function still checks the month difference instead of the minute difference. The test reports "endTimeCorrect: false" even though the code is correct.
The bug is in the test logic, not in the playlist code.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code