JS Expert Week 6.0 Classes - Spotify Radio
Welcome to the sixth Javascript Expert Week. This is the starting code to start our journey.
Tag this project with a star 🌟
Web API
Web App
audios/fx/
folderNODE_OPTIONS
is not a system recognized command, what to do?
set
before the command. "test": "set NODE_OPTIONS=--experimental-vm-modules && npx jest --runInBand",
I ran npm test
but nothing happens, what to do?
jest.spyOn
- when we try to use function.name
(something like stream.pipe.name
), it says the instance is undefined
jest.spyOn(stream, "pipe").mockReturnValue
Challenge 01 impossible to complete 100% code coverage because testUtil.js is not being fully used
/* istanbul ignore file */
. This will make jest ignore this file and complete 100%.