node package manager

smokesignals

smokesignals

Gitter NPM version Build status Dependency Status Code Climate

ūüĒ• Utilities for testing Trails Applications and Trailpacks

Install

$ npm install smokesignals

API

const smokesignals = require('smokesignals')

smokesignals.Logger

A mock logger that can be used for testing so that you don't have to require() and configure winston.

smokesignals.Trailpack

A mock trailpack that will keep the event loop from dying so that integration tests can be run on other trailpacks.

smokesignals.FailsafeConfig

A configuration object that can be merged into a barebones "test" config so that it can pass validation by trailpack-core.

Contributing

We love contributions! Please check out our Contributor's Guide for more information on how our projects are organized and how to get started.

License

MIT