Skip to content

Add unit tests for env-interpolator module #272

Closed

Description

@nikolasdehor

Description

The core/config/env-interpolator module lacks unit test coverage. This module handles environment variable interpolation in configuration values per ADR-PRO-002.

Scope

  • ENV_VAR_PATTERN regex validation
  • interpolateString — ${VAR} and ${VAR:-default} resolution
  • interpolateEnvVars — recursive walk of objects/arrays
  • lintEnvPatterns — detection of env patterns in committed config files

Acceptance Criteria

  • All exported functions covered
  • Edge cases: missing vars, empty defaults, special characters, nested structures
  • Warning collection verified
  • All tests passing

Activity

  1. nikolasdehor commented on Feb 20, 2026

    @nikolasdehor
    ContributorAuthor

    Covered by consolidated PR #424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions