Bemuse v54.0.1
Initializing
  • passes: 3
  • failures: 0
  • duration: 0.04s
  • ./app/entities/Options.spec.js

    • Options

      • scratch position

        • switches to keyboard mode if off0ms ‣

          (0,s.$v)(a.initialState).when(i(u.CHANGE_SCRATCH_POSITION({position:"off"}))).then(a.scratchPosition,(0,s.We)("off")).and((e=>{var t=new r
          c()(t._expr(t._capt("KB"===t._capt(t._capt(e,"arguments/0/left/object")["player.P1.mode"],"arguments/0/left"),"arguments/0"),{content:"assert(state['player.P1.mode'] === 'KB')",filepath:"Options.spec.js",line:93}))}))
        • switches to BMS mode if on1ms ‣

          (0,s.$v)(a.initialState).when(i(u.CHANGE_SCRATCH_POSITION({position:"right"}))).then(a.scratchPosition,(0,s.We)("right")).and((e=>{var t=new r
          c()(t._expr(t._capt("BM"===t._capt(t._capt(e,"arguments/0/left/object")["player.P1.mode"],"arguments/0/left"),"arguments/0"),{content:"assert(state['player.P1.mode'] === 'BM')",filepath:"Options.spec.js",line:101}))}))
        • remembers previous scratch position prior to turning off0ms ‣

          (0,s.$v)(a.initialState).when(i(u.CHANGE_SCRATCH_POSITION({position:"right"}))).and(i(u.CHANGE_SCRATCH_POSITION({position:"off"}))).then(a.scratchPosition,(0,s.We)("off")).and((e=>{var t=new r,n=new r
          c()(t._expr(t._capt("KB"===t._capt(t._capt(e,"arguments/0/left/object")["player.P1.mode"],"arguments/0/left"),"arguments/0"),{content:"assert(state['player.P1.mode'] === 'KB')",filepath:"Options.spec.js",line:110})),c()(n._expr(n._capt("right"===n._capt(n._capt(e,"arguments/0/left/object")["player.P1.scratch"],"arguments/0/left"),"arguments/0"),{content:"assert(state['player.P1.scratch'] === 'right')",filepath:"Options.spec.js",line:111}))}))