1.0.0 • Published 2 years ago
@japa/preset-sails v1.0.0
Sails preset
Bundled with opinionated plugins and reporters
Instead of installing individual plugins, reporters and starting the Sails server, this preset bundles them within a single package and exposed setup Sails for you.
npm i @japa/preset-sails --save-dev
Usage
Use the plugins as follows.
const { presetSails, assert, runFailedTests, specReporter, apiClient } = require('preset-sails')
configure({
plugins: [presetSails(), assert(), runFailedTests(), apiClient('http://localhost:3333')],
reporters: [specReporter]
})
1.0.0
2 years ago