When I attempt to do the chai testing for the Stock Price Checker app, I get this error:
Tests are not valid:
{ Error: Cannot find module '../controllers/stockHandler.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
It seems this stockHandler.js was never added to the boilerplate code. I understand that there are currently no unit tests meant to be done for this project, only functional, so this isn’t a big deal. I can just comment out the line requiring the stockHandler. But the boilerplate code shouldn’t naturally be having errors in it to begin with.