Skip to content

Fix broken default npm test command in queries/cdmq #212

Description

@k-rister

Problem

Running npm test from queries/cdmq fails because the package script invokes cdmq, but no cdmq executable is defined or installed:

> cdmq@1.0.0 test
> cdmq

sh: line 1: cdmq: command not found

Proposed solution

Replace the default test script with the repository's automated test suite, for example the native statistics unit and integration tests. Keep the live REST test separate because it requires a running CDM/OpenSearch environment.

Acceptance criteria

  • npm test executes the supported automated tests.
  • npm test passes in a clean dependency installation without requiring a globally installed cdmq command.
  • Environment-dependent live REST tests remain separately invokable.

— AI-signed: Codex | model: GPT-5 | effort: not specified

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions