How do i test my express app with mocha?
found an alternative in connect.js tests suites They are using supertest to test a connect app without binding the server to any port and without using mock-ups. Here is an excerpt from connect’s static middleware test suite (using mocha as the test runner and supertest for assertions) var connect = require(‘connect’); var app = connect(); … Read more