forked from Blendman974/faceclaw
Add symbolic math and graphing tools, dual-microphone audio processing, live captions, translation, speaker diarization, sentiment analysis, and searchable conversation history. Extend Android voice and BLE support for microphone control, recording, transcoding, and on-device speaker identification, with coverage for calculator and microphone workflows.
17 lines
635 B
Markdown
17 lines
635 B
Markdown
# Tests
|
|
|
|
Faceclaw's pairing logic (`app/g2/glasses-hardware-identity.ts`,
|
|
`ble-proximity.ts`, `even-advertisement.ts`, `pairing-candidates.ts`,
|
|
`glasses-artwork.ts`) is written without NativeScript imports so it can run
|
|
under plain node. The tests here cover hardware-identity decoding, proximity
|
|
estimation, the advertisement parsers, and left↔right pair grouping.
|
|
|
|
Run with:
|
|
|
|
npm test
|
|
|
|
That compiles the pure modules with the project's TypeScript into
|
|
`.test-build/` (git-ignored) and runs `node --test tests/`. No extra
|
|
dependencies are needed — the tests are plain `.test.cjs` files that use
|
|
`node:test` and `node:assert`.
|