Add Knowledge Connector Unit Tests

Guide for adding unit tests to a Knowledge Connector in a Cognigy Extension. Covers project setup (dependencies, scripts, build exclusion), test scaffolding using the Node.js standard test library (node:test + node:assert), the standard KnowledgeApi mock pattern, vendor-specific API mocking strategies, required test scenarios, and verification steps. Use when this capability is needed.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/cognigy--extensions--extensions commit 2c2219a2c2

Frequently asked questions

npx skillmds@latest add tomevault-io/add-knowledge-connector-unit-tests