Add an incremental SHA-256 library for the browser and node tests
This commit is contained in:
@@ -430,7 +430,7 @@ now paints immediately and reconciles afterwards:
|
||||
`render()` — so every playlist mutation refreshes both in one place.
|
||||
|
||||
## Testing
|
||||
- Unit: **`node --test frontend/*.test.js`** (sw, sw-update, async-guard, video-edit, lyrics-core, stats-core).
|
||||
- Unit: **`node --test frontend/*.test.js`** (sw, sw-update, async-guard, video-edit, lyrics-core, stats-core, sha256).
|
||||
Server: **`cd server && bun run test`** — runs each file in its own process (db.js is a
|
||||
singleton, so two test files in one `bun test` run share one temp DB; bare `bun test`
|
||||
also drags in the frontend node tests via the `public` symlink). media-cache needs a
|
||||
|
||||
Reference in New Issue
Block a user