Skip to content

tests: add unit tests for getRequestIp and readJsonBody functions… #14

tests: add unit tests for getRequestIp and readJsonBody functions…

tests: add unit tests for getRequestIp and readJsonBody functions… #14

Workflow file for this run

on: [ "push", "pull_request" ]
name: Unit Tests
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: |
npm install -g pnpm@latest
pnpm i
- name: Run tests
run: |
pnpm test:ci:coverage