mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
fix: tighten tool answers found in local testing
Unknown aircraft tracks read as empty instead of a server error, aircraft info names the aircraft and flight, the HUD caption sends the app's caption context, and satellite pass, satellites overhead and nearby places take a place name or point like the other tools.
This commit is contained in:
1 parent
1a03e7483d
commit
ec1adbdc19
9 files changed
+119
-64
No files matched your search
@@ -438,6 +438,9 @@ test('the HUD caption summarizes the brief through the summary service', async (
|
||||
);
|
||||
assert.equal(result.summary, 'Overcast skies over Austin');
|
||||
assert.equal(sent[0].location, 'Austin, Texas');
|
||||
assert.deepEqual(sent[0].placeLabels, ['Austin, Texas']);
|
||||
assert.deepEqual(sent[0].enabledLayerLabels, ['Weather']);
|
||||
assert.equal(sent[0].feedProvenance.overall, 'nominal');
|
||||
assert.match(sent[0].observations[0], /^Weather at /);
|
||||
const failing = {
|
||||
summarize: async () => ({
|
||||
|
||||
Reference in new issue
Block a user