chrisleee / twitch-stocks

A web platform that allows you to invest in Twitch streamers with imaginary points.
GNU General Public License v3.0
21 stars 8 forks source link

Jest hangs after tests and doesn't quit (server branch) #43

Closed chrisleee closed 7 years ago

chrisleee commented 7 years ago

Expected behavior:

Tests are successful and it exits properly.

Actual behavior:

Tests are successful but it never exits.

Steps to reproduce the behavior:

  1. Create and pull server branch locally git checkout --track origin/server
  2. Update local packages npm i
  3. Run tests npm test

    Extra comments:

    There's an afterEach on each describe that closes the server connection, so I'm not sure what's causing this.

It might be on my end.

Can anyone else try to reproduce this?

chrisleee commented 7 years ago

Works fine on a fresh git clone