Saturday 27 October 2018

Integration Testing + Server Setup using Jest

I have an express/node server written in es6 and I am trying to setup my integration tests using jest. In order to do so, I need to spin up the server.I looked into setupFiles but it runs for every file which is kind of slow. I looked into setupGlobal but jest won't transpile ES6 code.Is there a canonical solution to this problem?

Submitted October 27, 2018 at 02:50PM by adamthompson922

No comments:

Post a Comment