bemusic/bemuse

View on GitHub
packages/bms/features/step_definitions/sentences_steps.js

Summary

Maintainability
A
0 mins
Test Coverage
const steps = require('artstep')

module.exports = steps()
  .Then(/^there should be (\d+) header sentences?$/, function (n) {
    expect(this.result.headerSentences).to.equal(+n)
  })

  .Then(/^there should be (\d+) channel sentences?$/, function (n) {
    expect(this.result.channelSentences).to.equal(+n)
  })