Skip to content

fix: remove .default([]) from hookEvents to allow proper undefined check #77

fix: remove .default([]) from hookEvents to allow proper undefined check

fix: remove .default([]) from hookEvents to allow proper undefined check #77

Workflow file for this run

name: Unit Tests
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "npm"
cache-dependency-path: mcp-server/package-lock.json
- name: Install dependencies
working-directory: ./mcp-server
run: npm ci
- name: Run tests
working-directory: ./mcp-server
run: npm run test:run