Functional Tests with Zombie.js
1) “before all” hook
22 passing (2s)
1 failing
Functional Tests with Zombie.js “before all” hook:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves.
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
could you elaborate in why is wrong that line of code you pointed out?
Sure. Zombie.js mimics a user, by accessing the site given, and performing the functions described (clicking on buttons, making requests, etc.). As such, which URL would you give a user to your site?