deployable

Results 11 comments of deployable

I use the following to setup and tear down the server in mocha 4+ ``` const supertest = require('supertest') const app = require('../../app') describe('int::app', function(){ let request = null let...

@timeemit I've run into that outside of tests. There are some modules that add connection tracking and can close sockets from that, I'm struggling to recall/find names though. I think...

@jakubrpawlowski https://github.com/isaacs/server-destroy and [How do I shutdown a Node.js http(s) server immediately?](https://stackoverflow.com/q/14626636/1318694) and https://github.com/thedillonb/http-shutdown and https://github.com/marten-de-vries/killable

@BrianHVB Do you have a quick example of a suite that exits cleanly without that extra `server` setup? I've had the "hang" occur in apps without a db connection, or...

It looks like supertest [sets up a new server](https://github.com/visionmedia/supertest/blob/199506d8dbfe0bb1434fc07c38cdcd1ab4c7c926/index.js#L19-L20) for every call to `request()`. That server will close when you [call `.end()`](https://github.com/visionmedia/supertest/blob/199506d8dbfe0bb1434fc07c38cdcd1ab4c7c926/lib/test.js#L120-L126). Possibly test's that don't use `end()` are leaving...

I think I ran into the same enzyme issue here: https://github.com/airbnb/enzyme/issues/1519 Both the `Test` component and the `div` are being picked up by the class selector as they are both...

It might be useful if chai-enzyme included a `.htmlDescendants()` or something similar to remove the React components from results. Possibly `.reactDescendants()` as well if you wanted the opposite, but I...

@justinfagnani would it be possible to get a 0.1.2 release with this included?

I think this has only fixed some of the cases as I'm still having issues with repo's that have a space in their location.