The first public release of Fabled Minstrel #158

Merged
bvandeusen merged 256 commits from dev into main 2026-12-03 21:41:58 -05:00
Showing only changes of commit 877bb7e9c4 - Show all commits
+5 -4
View File
@@ -207,11 +207,12 @@ describe('player store — shuffle + repeat + audio reports', () => {
});
// A track ending: repeat one plays it again, repeat all moves on and wraps,
// and with repeat off the last track stops at its end.
// and with repeat off the last track stops at its end. cycles is how many
// presses of Repeat from off: one for all, two for one.
test.each([
['repeat one replays the track', 1, 2, 0, 0, 'loading', 0],
['repeat all moves on', 2, 3, 0, 1, 'loading', 0],
['repeat all wraps at the end', 2, 2, 1, 0, 'loading', 0],
['repeat one replays the track', 2, 2, 0, 0, 'loading', 0],
['repeat all moves on', 1, 3, 0, 1, 'loading', 0],
['repeat all wraps at the end', 1, 2, 1, 0, 'loading', 0],
['repeat off stops at the end', 0, 2, 1, 1, 'paused', 180]
] as const)('a track ending with %s', (_label, cycles, n, start, wantIndex, wantState, wantPos) => {
playQueue(Array.from({ length: n }, (_, i) => track(String(i + 1))), start);