Liran Tal 1/23/2017

Hidden features of Gulp for integration tests with Ava.js.

Read Original

This technical article details a solution for a common issue in integration testing: using Gulp to bootstrap an Express server for Ava.js tests, but having the server process hang after tests complete. It explains how to leverage Gulp's underlying Stream events to listen for 'error' and 'end' events and force the Node.js process to exit, ensuring clean test runs.

Hidden features of Gulp for integration tests with Ava.js.

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week