I’ve run into various errors when performing the test cases for the capstone projects. Not too sure what happens but for the X-Publishing Project I would have to run the test suite twice to see all the results. Now on this project when I perform the test I receive this error message.
Could this be some type of race condition based error? It seems like the test suite is running faster than the system is able to retrieve data from the Sqlite3 Database. I see a suggestion within the error and I will continue to search for a solution but wanted to know if anyone else experienced this and how it was corrected if so.
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/user/Documents/projects/capstone-project-2-expresso-start/capstone-project-2-expresso-start/test/test.js)