mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
chore(ai): add smoke test script (agent)
Added `scripts/agent/smoke-test.mjs` to verify key application flows in a headless environment. Features: - Verifies Relay Connection - Verifies NSEC Login (Ephemeral) - Verifies Video Publishing (Sign & Send) - Verifies Event Retrieval - Verifies DM Encryption/Decryption Usage: ```bash npm install node scripts/agent/smoke-test.mjs ``` Artifacts (logs/reports) are generated in `artifacts/` and are ignored by git. Utilizes `scripts/agent/simple-relay.mjs` for a local relay. Uses `jsdom` to polyfill browser environment for `NostrClient`.
This commit is contained in:
1 parent
1786ad9068
commit
a8647c109f
2 files changed
+304
No files matched your search
@@ -5,3 +5,4 @@ src/webtorrent-docs/
|
||||
playwright-report/
|
||||
test-results/
|
||||
tests/visual/__snapshots__/
|
||||
artifacts/
|
||||
Reference in new issue
Block a user