You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Luke Childs cb4e29d741 Add description to readme 8 years ago
src Use https.createServer compatible keys in create-cert@0.3.1 8 years ago
test Cleanup tests 8 years ago
.gitignore Initial commit 8 years ago
.travis.yml Initial commit 8 years ago
LICENSE Initial commit 8 years ago
README.md Add description to readme 8 years ago
package-lock.json 0.2.1 8 years ago
package.json 0.2.1 8 years ago

README.md

create-test-server

Creates a minimal express server for testing

Build Status Coverage Status npm

Inspired by the createServer() helper function in the Got tests.

A simple interface for creating a preconfigured express instance listening for both HTTP and HTTPS traffic.

A self signed certificate is automatically generated for SSL. An associated CA certificate is also returned for you to validate against.

Install

npm install --save-dev create-test-server

License

MIT © Luke Childs