-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests issue #294
Comments
Answering my own question. I was getting the below error when running the tests.
I was able to fix it by following this . Looks like the .env.example needs the |
@ragavendra you included your username and password |
the url in .env.example is referencing a local mongo server the reason why you were getting that error is because in the config it appends you do not want tests running on your db with live/real data, plus if you take a look at tests/utils/setupTestDB.js you'll see that before each test it purges all the collections. also as mentioned above you are sharing your username and password in the connection string you pasted |
First of all, thanks for this template or boilerplate, there is a lot of modules that I learnt about.
When I run
npm run test
a lot of tests are failing like below, although I am runningnpm run dev
in another instance.Correct me if I am wrong. I can see that this project is not actively maintained? The reason for this is that I am seeing some not supported modules like
xss-clean
The text was updated successfully, but these errors were encountered: