Bemuse v54.0.1
Initializing
  • passes: 2
  • failures: 0
  • duration: 0.02s
  • ./app/interactors/createAutoVelocity.spec.js

    • createAutoVelocity

      • when disabled

        • should save speed after playing game2ms ‣

          var e=new c,t=new c
          const n=(0,o.Z)({enabled:!1,initialSpeed:3.8,desiredLeadTime:1e3,songBPM:220}),a=sinon.spy(),r=sinon.spy()
          n.handleGameFinish(2.4,{saveSpeed:a,saveLeadTime:r}),s()(e._expr(e._capt(e._capt(a,"arguments/0/callee/object").calledWith(2.4),"arguments/0"),{content:"assert(saveSpeed.calledWith(2.4))",filepath:"createAutoVelocity.spec.js",line:26})),s()(t._expr(t._capt(!t._capt(t._capt(r,"arguments/0/argument/object").called,"arguments/0/argument"),"arguments/0"),{content:"assert(!saveLeadTime.called)",filepath:"createAutoVelocity.spec.js",line:27}))
      • when enabled

        • should save speed and lead time after playing game1ms ‣

          var e=new c,t=new c
          const n=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1685,songBPM:178}),a=sinon.spy(),r=sinon.spy()
          n.handleGameFinish(3,{saveSpeed:a,saveLeadTime:r}),s()(e._expr(e._capt(e._capt(a,"arguments/0/callee/object").calledWith(3),"arguments/0"),{content:"assert(saveSpeed.calledWith(3))",filepath:"createAutoVelocity.spec.js",line:89})),s()(t._expr(t._capt(t._capt(r,"arguments/0/callee/object").calledWith(562),"arguments/0"),{content:"assert(saveLeadTime.calledWith(562))",filepath:"createAutoVelocity.spec.js",line:90}))
  • ./custom-folder/index.spec.ts