mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-11 22:02:21 +00:00
test(qa): W1 baseline and the main-chunk check
scripts/check-main-chunk.mjs (npm run check:main-chunk) finds the main chunk of a build (the Vite manifest's entry, or the module script dist/index.html loads), follows its static imports and fails when any of them carries three or Navara markers; it prints the sizes. Base build: main chunk 2,850,229 bytes (gzip 881,783), no static imports, clean. scripts/qa-w1-baseline.mjs records Cesium mode for the W1 layers (flights, military, local ADS-B, vessels, satellites, launches): counts, five known objects with positions and screen points, JPEGs (path, size, sha256) at the global / New York (JFK) / orbit poses, a tracked object's camera pose after 2 s and what its share link restores. Live sources until the fixture sources of Task 8.
This commit is contained in:
1 parent
d50eaa28af
commit
27e28373d0
5 files changed
+265
-1
No files matched your search
@@ -1063,5 +1063,8 @@
|
||||
"src/services/groundSnap.test.mjs",
|
||||
"src/sharelinkPose.test.mjs",
|
||||
"src/tooling/navaraAssets.test.mjs",
|
||||
"src/tooling/tileCache.test.mjs"
|
||||
"src/tooling/tileCache.test.mjs",
|
||||
"scripts/check-main-chunk.mjs",
|
||||
"src/tooling/mainChunk.test.mjs",
|
||||
"scripts/qa-w1-baseline.mjs"
|
||||
]
|
||||
Reference in new issue
Block a user