1.0.0 • Published 6 years ago

n3h-check-flow v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

N3H Check Flow

Help check the correction of a flow.

Installation

npm install --save-dev n3h-check-flow

Usage

In your test file:

const checkFlow = require('n3h-check-flow')

const stepDefinitions = ...

checkFlow(stepDefinitions, {
  serviceName: 'some-service',
  flowName: 'some-flow',
  entries: ['step1'],
  follows: [
    ['step2', 'step1', 'ok'],
    ['step3', 'step1', 'failed'],
    ['step3', 'step2', 'failed']
  ]
})

API

Documentation

License

MIT