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

    • MusicSelection

      • allows selecting song2ms ‣

        (0,s.$v)(a.E3).when(a.AC("song1")).then(a.Oh([{id:"song0",title:"TEST"},{id:"song1",title:"BY MY SIDE"}]),(0,s.We)({id:"song1",title:"BY MY SIDE"}))
      • should fallback to avilaable song if not available0ms ‣

        (0,s.$v)(a.E3).when(a.AC("song1")).then(a.Oh([{id:"song0",title:"TEST"},{id:"song2",title:"RUNNING OUT"}]),(0,s.We)({id:"song0",title:"TEST"}))
      • should allow selecting chart0ms ‣

        (0,s.$v)(a.E3).when(a.Eb("song1","chart1.bml",8)).then((e=>e.selectedSongId),(0,s.We)("song1")).and((e=>e.selectedChartId),(0,s.We)("chart1.bml")).and((e=>e.selectedChartLevel),(0,s.We)(8))
      • selects the chart if available0ms ‣

        e.then(a.v8([{file:"chart0.bml",info:{level:1}},{file:"chart1.bml",info:{level:8}},{file:"chart2.bml",info:{level:12}}]),(0,s.We)({file:"chart1.bml",info:{level:8}}))
      • selects chart with closest level if matching chart not available0ms ‣

        e.then(a.v8([{file:"pattern0.bml",info:{level:2}},{file:"pattern1.bml",info:{level:9}},{file:"pattern2.bml",info:{level:10}}]),(0,s.We)({file:"pattern1.bml",info:{level:9}}))