mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Fix Stories navigation, sharing, and voice entry
This commit is contained in:
1 parent
5418438339
commit
9e9ce1db22
43 files changed
+744
-137
No files matched your search
@@ -167,6 +167,12 @@ test('holding writes first writes a view change still waiting for its debounce',
|
||||
manager.holdWrites(true);
|
||||
assert.equal(window.location.hash, '#v=2&lat=5', 'written before the hold');
|
||||
manager._buildHashParams = () => new URLSearchParams('v=2&lat=9');
|
||||
assert.equal(manager.snapshotHash(), 'v=2&lat=9');
|
||||
assert.equal(
|
||||
window.location.hash,
|
||||
'#v=2&lat=5',
|
||||
'snapshot leaves the URL alone',
|
||||
);
|
||||
manager._scheduleUpdate();
|
||||
assert.equal(timers.size, 0, 'nothing scheduled while held');
|
||||
manager.destroy();
|
||||
|
||||
Reference in new issue
Block a user