Resume suspended movement after Sapho recovery
This commit is contained in:
1 parent
26be6fd8ee
commit
ea910e9c82
11 files changed
+267
-17
No files matched your search
@@ -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', () => {
|
||||
|
||||
Reference in new issue
Block a user