Prototype native Homeworld No-Field return
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
89569e92a1
commit
7e3d745807
17 files changed
+540
-32
No files matched your search
@@ -48,7 +48,8 @@ void test('the owner receives the actual transfer packet although another deploy
|
||||
void test('transfer quote enforces current custody, active timing, destination and funding', () => {
|
||||
const view = fixture();
|
||||
assert.equal(options.richeseHomeworldMarkerChoice(view, 'homeworld:atreides', 'five', 0, 'homeworld:atreides').action, null);
|
||||
assert.equal(options.richeseHomeworldMarkerChoice(view, 'homeworld:richese', 'five', 0, 'homeworld:atreides').action, null);
|
||||
assert.equal(options.richeseHomeworldMarkerChoice({ ...view, advanced: false }, 'homeworld:richese', 'five', 0, 'homeworld:atreides').action, null);
|
||||
assert.ok(options.richeseHomeworldMarkerChoice(view, 'homeworld:richese', 'five', 0, 'homeworld:atreides').action);
|
||||
assert.equal(options.richeseHomeworldMarkerChoice(view, 'homeworld:guild', 'three', 0, 'homeworld:atreides').action, null);
|
||||
assert.equal(options.richeseHomeworldMarkerChoice(view, 'homeworld:guild', 'five', 0, 'homeworld:unknown').action, null);
|
||||
for (const patch of [
|
||||
@@ -72,7 +73,7 @@ void test('owner sees the current marker and different destination; all minimal
|
||||
const action = options.homeworldShipmentActions(view, level).find(candidate => candidate.noFieldFrom !== undefined);
|
||||
assert.ok(action, `profile ${level} can transport the actual marker`);
|
||||
assert.equal(action.noFieldFrom, 'homeworld:atreides'); assert.equal(action.noField, 'five');
|
||||
assert.equal(action.destination, 'homeworld:guild');
|
||||
assert.ok(['homeworld:guild', 'homeworld:richese'].includes(String(action.destination)));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user