smokesignals

Utilities for testing Trails Applications and Trailpacks

Usage no npm install needed!

<script type="module">
  import smokesignals from 'https://cdn.skypack.dev/smokesignals';
</script>

README

smokesignals

Gitter NPM version Build status Dependency Status Code Climate Follow @trailsjs on Twitter

:fire: 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.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