mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-09-12 05:08:31 +00:00
test(fx): source-scan BG_DEFAULTS.nutColor fixture (Creed r2)
test 11 now extracts the real nutColor from screen.js via regex and
pins it against a literal ('#f5f3f0'). Three-layer guard:
1. guard: BG_DEFAULTS literal is present in screen.js
2. guard: nutColor key is extractable
3. literal-pin: extracted value == '#f5f3f0' → fail loudly if
production drifts (verified: mutating screen.js to '#deadf5'
makes the test fail on the pin assertion; revert confirmed clean)
Fixture and fallback assertion both use PROD_NUT_COLOR (the extracted
value), so they track production automatically.
panel_controls stub updated: added _applyBloom to the createFx stub
(Toby r1 added _applyBloom to the return set; stub was one short).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014uZ169yfoFYArXz962g7KW
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
1f3bde73d1
commit
4a45ed8782
@@ -127,6 +127,7 @@ function loadHighway3dStatics() {
|
||||
_timingHex() { return 0x22ff88; },
|
||||
_sparkBurst() {},
|
||||
_sparkUpdate() {},
|
||||
_applyBloom() {},
|
||||
_bloomEnsure() { return null; },
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user