fix(street-level): one keydown listener on the photo root; format scope listed a test twice

Esc moved to the viewer's box (`.sl-viewer-wrap`) in the last commit, but
without one it was a second keydown listener on the root; Esc is now taken
by the root's own handler there. format-scope.json listed
panorama.test.mjs twice, which made the formatter refuse the scope; the
files it skipped are formatted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Said TurkseverandClaude Opus 5.5 committed 2026-10-14 15:25:58 +01:00
1 parent cf502429a3
commit 1a546bec72
14 files changed
+96 -30

No files matched your search

+5 -1
View File
@@ -70,7 +70,11 @@ test('a task already aborted when its turn comes is skipped', async () => {
const gate = createLimiter(1);
const first = held(log, 'a');
const running = gate.run(first.task);
const signal = { aborted: false, reason: new Error('gone'), addEventListener() {} };
const signal = {
aborted: false,
reason: new Error('gone'),
addEventListener() {},
};
const queued = gate.run(held(log, 'b').task, { signal });
signal.aborted = true;
first.finish();