Testing Extensions
Test your extensions with @godmode-cli/test
Install
npm install -D @godmode-cli/testUsage
import { testExtension } from '@godmode-cli/test';
testExtension('my-api', 'path/to/manifest.yaml');This will:
- Register the extension via
godmode extension add - Test every route resolves to the correct URL using
--dry-run - Verify
--helpoutput shows usage and resources