I’m in the same stage of the course experiencing the same unclarities.
Looking at the solution code, the objective is more clear.
Here is how i interpret the instruction:
you will need to implement the functionality for determining content types for
'text/plain'. For more information on this functionality, run the testing suite (detailed below).’
I interpret this as:
‘run a succesful testing suite, and you will get some kind of clarity about what to do .’
This is where it goes wrong, since the installation of the ‘npm install’ test suite already gives a bunch of error’s . This problem actually starts 2 articles before the start of the project. I have just opened a topic about this:
Whats missing is a proper instruction on setting up the test suite, and what a functioning test setup should look like / the result of a fully funtioning npm test or npm run test.
I still don’t know if i have the right setup?
when i try npm run test in either the -start or -solution version of this project, i get the following error message:
pm ERR! firstname.lastname@example.org test:
npm ERR! spawn ENOENT
npm ERR! Failed at the email@example.com test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/arejas/.npm/_logs/2020-03-17T23_57_37_384Z-debug.log
I hope you can answer my question and improve the content so far i have been very satisfied with the courses.