mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
test(earthquakes): add unit test coverage for earthquake snapshot normalization
- Pin GeoJSON earthquake snapshot normalization contract in src/layers/earthquakes/records.test.mjs - Cover complete-feed validation, M2.5 magnitude filtering, coordinate and depth bounds - Verify stable fallback IDs, duplicate ID rejection, and malformed structure handling - Register records.test.mjs in scripts/format-scope.json and apply Prettier formatting
This commit is contained in:
1 parent
614b207c32
commit
f60eeacb2d
2 files changed
+262
No files matched your search
@@ -722,6 +722,7 @@
|
||||
"src/voice/session.test.mjs",
|
||||
"src/layers/alpr/records.js",
|
||||
"src/layers/earthquakes/records.js",
|
||||
"src/layers/earthquakes/records.test.mjs",
|
||||
"src/sources/sourceSlot.js",
|
||||
"src/data/feedState.js",
|
||||
"src/app/localGeojsonServices.js",
|
||||
|
||||
Reference in new issue
Block a user