chore: Add a unit testing framework (#49)
Some checks are pending
Lint / pre-commit Linting (push) Waiting to run
Test / Run Tests (push) Successful in 1m12s

Add vitest as a unit testing framework

Reviewed-on: #49
This commit was merged in pull request #49.
This commit is contained in:
2026-01-04 07:02:20 +01:00
parent a14206d32c
commit 3ff19001a7
11 changed files with 3537 additions and 355 deletions

View File

@@ -0,0 +1,19 @@
name: Test
on:
push:
workflow_dispatch:
jobs:
test:
name: Run Tests
runs-on: pi
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install
shell: bash
- run: npm test
shell: bash