I am following step 1 of this tutorial
I have the following folder structure:
├── lib
│ ├── json
│ │ ├── messages.json
│ │ └── testMessages.json
│ └── model.js
├── test
│ └── model.test.js
└── package.json
My package.json has the following to run the mocha tests
“test”: “mocha -r esm ./test/* —exit”,
But I get the following error
> backend@1.0.0 test /Users/lee33ya/Desktop/mern-app/backend
> mocha -r esm ./test/* --exit
Error: No test files found: "./test/*"
npm ERR! Test failed. See above for more details.
What am I doing wrong and what can I do to resolve my tests not running?
My github
