Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 496 Bytes

File metadata and controls

13 lines (9 loc) · 496 Bytes

Unit testing + Refactoring

Spotify Logo

Refactor a fragment of code.

Points: 2

Given a fragment of javascript code, that doesn’t follow proper coding practices: spotify-entities.js

  • Refactor and improve the unit tests on the functionality.
  • Refactor the actual functionality it to have a more proper structure.
  • Note: You can use your preferred unit testing FW, replacing the current example.