Im working on a mac, the OS put a .DS_Store file into the tests/mock-api/routes/ directory.
This resulted in breaking the require statement on line 9 of tests/mock-api/index.js because the .DS_Store file does not have module.exports defined inside it.
I suggest adding something like this before to fix the problem
I have not gone through the rest of the project to see if entire directories of files are being required in this way elsewhere, but a project wide solution to this problem may be better.
Im working on a mac, the OS put a .DS_Store file into the tests/mock-api/routes/ directory.
This resulted in breaking the require statement on line 9 of tests/mock-api/index.js because the .DS_Store file does not have module.exports defined inside it.
I suggest adding something like this before to fix the problem
I have not gone through the rest of the project to see if entire directories of files are being required in this way elsewhere, but a project wide solution to this problem may be better.