mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
refactor: compose UI shell with explicit application operations and component owners
This commit is contained in:
1 parent
8a226a2fe3
commit
f5ef9091f0
67 files changed
+15799
-15059
No files matched your search
@@ -483,7 +483,7 @@ test('applyVisualState gates the map-stack switch on both sides of its await', (
|
||||
// another setStack() arrives, and a winning state that omits `mapStack`
|
||||
// never issues one — every normalized scene shot omits it — so a stale
|
||||
// switch would otherwise stand on the globe.
|
||||
const source = fs.readFileSync(new URL('../ui.js', import.meta.url), 'utf8');
|
||||
const source = fs.readFileSync(new URL('../ui/applicationShell.js', import.meta.url), 'utf8');
|
||||
const method = source.match(/\n {2}async applyVisualState\([\s\S]*?\n {2}\}\n/);
|
||||
assert.ok(method, 'applyVisualState is missing from ui.js');
|
||||
assert.match(method[0], /async applyVisualState\(state = \{\}, \{ isCurrent = null \} = \{\}\)/);
|
||||
|
||||
Reference in new issue
Block a user