Mongodb – Jest test times out, manual test works fine
I'm trying to test a nodejs function using Jest. I'm a complete beginner in Jest, so I assume this is a problem in the way I have structured my tests. When called manually or from within the application, the function…