crizstian / cinema-microservice

Example of a cinema microservice
1.76k stars 656 forks source link

Timeout errors in tests #9

Open michaldrabik opened 6 years ago

michaldrabik commented 6 years ago

I'm getting following on newly setup step-1 project. Any ideas why?


6 passing (12s)
  3 failing

  1) Mongo Connection should emit db Object with an EventEmitter:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  2) Repository should get movie premiers:
     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  3) Repository should get movie by id:
     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.