mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
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:
parent
f6fea65063
commit
94fe294ec2
7 changed files with 336 additions and 18 deletions
14
.github/workflows/test.yml
vendored
Normal file
14
.github/workflows/test.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue