packages/bms/features/step_definitions/positioning_steps.js
const steps = require('artstep')
module.exports = steps()
.Then(
/^scrolling speed at beat ([-\d.]+) is ([-\d.]+)$/,
function (beat, speed) {
expect(this.positioning.speed(+beat)).to.equal(+speed)
}
)
.Then(
/^scrolling position at beat ([-\d.]+) is ([-\d.]+)$/,
function (beat, position) {
expect(this.positioning.position(+beat)).to.equal(+position)
}
)