n3h-check-flow
v1.0.0
Published
Help check the correction of a flow.
Downloads
2
Readme
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
License
MIT