Add unit tests for parsing connection frames

There's a bit of complexity in byte-level parsing of serial/BLE frames, so I thought it would be helpful to add unit tests to ensure correct behavior.
This commit is contained in:
Michael Lynch 2026-01-02 16:52:22 -05:00
parent f6fea65063
commit 94fe294ec2
7 changed files with 336 additions and 18 deletions

14
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: Run tests
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test