mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
test(cockpit): the real vessel layer keeps the ridden ship on a water click
The bridge tests drive a hand-written layer, so nothing exercised the vessel layer's own scene-click gate. A wire test now clicks open water with the bridge holding the ship, then again after release. The Contacts test that adopts Live AIS Vessels directly is renamed to say so: it never rides a bridge.
This commit is contained in:
1 parent
9abc105266
commit
0ba7ba6512
2 files changed
+17
-1
No files matched your search
@@ -462,7 +462,7 @@ test('a ride handed to an aircraft on a layer Contacts turned on keeps that laye
|
||||
assert.deepEqual(on(manager), ['flights', 'military']);
|
||||
});
|
||||
|
||||
test('a bridge ride keeps Live AIS Vessels when Contacts had turned it on', async (t) => {
|
||||
test('Live AIS Vessels, once adopted as the ridden layer, outlives Contacts', async (t) => {
|
||||
const live = await liveFixture(t, {
|
||||
tracked: { layerId: 'flights', info: CIVIL },
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user