Skip to content

Testing

JP IT edited this page Jan 22, 2026 · 1 revision

Testing

Run the test suite using Node.js built-in test runner.

Running Tests

# Run all tests
npm test

# Run specific test category
npm run test:unit
npm run test:integration
npm run test:security

Test Categories

Unit Tests

  • Utility functions
  • Parsing logic
  • Configuration validation

Integration Tests

  • Authentication flows
  • API endpoints
  • WebSocket handling

Security Tests

  • XSS prevention
  • CSRF protection
  • Injection attacks
  • Access control

Clone this wiki locally