bemusic/bemuse

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

Summary

Maintainability
A
1 hr
Test Coverage
const steps = require('artstep')

module.exports = steps().Then(
  /^note spacing at beat ([-\d.]+) is ([-\d.]+)$/,
  function (beat, value) {
    expect(this.spacing.factor(+beat)).to.equal(+value)
  }
)