running-tests

Execute and manage unit, integration, and CLI tests in a monorepo using npm scripts.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mitchlabeetch/nango --skill running-tests-mitchlabeetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: running-tests
Source: https://github.com/mitchlabeetch/nango/tree/main/.agents/skills/running-tests
Command: npx skills add https://github.com/mitchlabeetch/nango --skill running-tests-mitchlabeetch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @nangohq/shared, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides streamlined and optimized ways to run tests within the Nango monorepo, ensuring quick identification of unit vs integration test configurations, and handling common testing patterns and setup issues.

Core Features & Use Cases

  • Unit & Integration Testing: Distinct configurations for unit, integration, and CLI tests with correct execution and reporting.
  • Test Management: Quick execution and selection of tests with patterns, reducing the overhead of running the wrong configurations.
  • Automated Setup: Automatic Docker setup and dependencies management for efficient running of integration tests.
  • Error Handling: Provides guidelines and tools to troubleshoot common testing issues.
  • Use Case: Ideal for developers looking to maintain a robust test suite for their Nango integrations.

Quick Start

Run unit tests by executing 'npm run test:unit' from the repo root.

Frequently Asked Questions about running-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run unit and integration tests in a Nango monorepo?

To run unit tests in a Nango monorepo, execute 'npm run test:unit' from the repository root. The setup distinguishes between unit, integration, and CLI test configurations using Vitest to streamline test execution and reporting.

Does Nango integration testing require a Docker setup?

Yes, Nango integration testing requires a Docker setup. The testing process automates Docker environment configuration and manages dependencies to ensure integration tests run efficiently and correctly.

How can I execute specific test patterns with Vitest in a monorepo?

You can execute specific test patterns with Vitest by using npm scripts to select and run tests matching your patterns. This test management approach reduces the overhead of running incorrect configurations.

What is the best way to manage parallel test execution for Nango integrations?

The best way to manage parallel test execution for Nango integrations is using automated npm scripts within the monorepo. This approach optimizes for speed and correctness while handling unit and integration tests.

Why are my Nango monorepo tests failing during execution?

Nango monorepo tests may fail due to incorrect environment configuration or improper Docker setup. The Skill provides error handling guidelines and troubleshooting tools to resolve common testing issues.