Resume suspended movement after Sapho recovery

This commit is contained in:
Quintine committed 2026-10-28 19:34:56 +11:00
1 parent 26be6fd8ee
commit ea910e9c82
11 files changed
+267 -17

No files matched your search

+4 -1
View File
@@ -57,7 +57,10 @@ void test('started self-last needs explicit Basic admission and cannot create a
assert.equal(request(advanced).next.protectedLast, 'active');
const proposed = request(input);
const already = { ...input, queue: proposed.next, started: ['done', 'active'] };
assert.throws(() => saphoMovementOrderEvent(already), SaphoMovementOrderError);
const resumed = request(already, 'active', 'first');
assert.equal(resumed.next.current, 'active');
assert.equal(resumed.next.currentStarted, true);
assert.equal(resumed.next.protectedLast, null);
});
void test('a started actor is bound to its current phase, actor and whole remaining tail', () => {