mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
Read "from the map" only after hide, remove, turn off or clear
"show me the view from the map" is a question again, not a place search. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
06eb60faab
commit
3d31126c72
3 files changed
+12
-5
No files matched your search
@@ -816,6 +816,11 @@ test('"except" leaves Satellites to switch off with Space Missions off', () => {
|
||||
['layer(satellites,off)'],
|
||||
text,
|
||||
);
|
||||
// After "show" the ending is part of what is asked.
|
||||
assert.equal(
|
||||
omnibar.rows('show me the view from the map', { places: [] }).defaultIndex,
|
||||
-1,
|
||||
);
|
||||
// The whole map cleared "from the map" is the same plan, not a place.
|
||||
for (const text of [
|
||||
'hide everything from the map',
|
||||
|
||||
Reference in new issue
Block a user