test(renderer): run every Electron suite from one command
The Electron suites were only reachable one npm script at a time, so a new one was covered by whoever remembered it existed. test:electron:all builds once and runs all five, reporting a single summary and a non-zero exit. The runner lives under tests/ rather than app/scripts/, which .gitignore excludes entirely. The image row spacing assertion also stops hard-coding the current gap -- it had 0.59px of headroom -- and calibrates against the spacing the rest of the timeline is using. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
5f7f6d7cd5
commit
b72e0fcaf3
+2
-1
@@ -23,7 +23,8 @@
|
||||
"test:electron:images": "electron-vite build && electron --no-sandbox tests/electron-session-images.mjs",
|
||||
"test:electron:timeline": "electron-vite build && electron --no-sandbox tests/electron-session-virtualization.mjs",
|
||||
"test:electron:reader-state": "electron-vite build && electron --no-sandbox tests/electron-session-reader-state.mjs",
|
||||
"test:electron:file-refs": "electron-vite build && electron --no-sandbox tests/electron-file-references.mjs"
|
||||
"test:electron:file-refs": "electron-vite build && electron --no-sandbox tests/electron-file-references.mjs",
|
||||
"test:electron:all": "electron-vite build && node tests/run-electron-suites.mjs"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.obelisk.app",
|
||||
|
||||
Reference in New Issue
Block a user