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
Problem
Running
npm testfromqueries/cdmqfails because the package script invokescdmq, but nocdmqexecutable is defined or installed:Proposed solution
Replace the default
testscript 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 testexecutes the supported automated tests.npm testpasses in a clean dependency installation without requiring a globally installedcdmqcommand.— AI-signed: Codex | model: GPT-5 | effort: not specified