mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
refactor: separate military-flight records and rendering
This commit is contained in:
1 parent
d01b69118e
commit
9e84b03c5e
23 files changed
+928
-665
No files matched your search
@@ -61,17 +61,24 @@ test('military state owns separate contact maps, motion scratch and ground sampl
|
||||
const first = createFlightState({ services: services() });
|
||||
const second = createFlightState({ services: services() });
|
||||
for (const key of [
|
||||
'_flightData',
|
||||
'records',
|
||||
'feed',
|
||||
'_billboards',
|
||||
'_positionHistory',
|
||||
'_groundSnap',
|
||||
'_scratchCarto',
|
||||
'_models',
|
||||
'_activeUpdateControllers',
|
||||
'lifetime',
|
||||
]) {
|
||||
assert.notEqual(first[key], second[key], key);
|
||||
}
|
||||
assert.notEqual(first.records.data, second.records.data);
|
||||
assert.notEqual(first.records.missingPolls, second.records.missingPolls);
|
||||
assert.notEqual(first.records.geoidNCache, second.records.geoidNCache);
|
||||
assert.notEqual(
|
||||
first.feed._activeUpdateControllers,
|
||||
second.feed._activeUpdateControllers,
|
||||
);
|
||||
});
|
||||
|
||||
test('a normalized source can retain its stale reason without changing standalone cache policy', async () => {
|
||||
|
||||
Reference in new issue
Block a user