Skip to content

Conversation

@bryantaustin13
Copy link
Contributor

…g-escape-utils

This should fix the following 2 issues:

npx tsx src/bin/cql-tests.ts run-tests conf/development.json ./results
npm warn Unknown user config "pyls". This will stop working in the next major version of npm.
npm warn Unknown user config "/usr/bin/python3". This will stop working in the next major version of npm.
Warning: Could not validate configuration file conf/development.json: strict mode: unknown keyword: "testsRunDescription"
file:///Users/bryantaustin/Projects/cql-tests-runner/cvl/string-escape-utils.mjs:18
MULTI_CHAR_UNESCAPE.map(RegExp.escape).join('|') + '|\\u[0-9a-fA-F]{4}',
^

TypeError: undefined is not a function
at Array.map ()
at file:///Users/bryantaustin/Projects/cql-tests-runner/cvl/string-escape-utils.mjs:18:22
at ModuleJob.run (node:internal/modules/esm/module_job:268:25)
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:543:26)
at async TestRunner.runTests (/Users/bryantaustin/Projects/cql-tests-runner/src/services/test-runner.ts:75:23)
at async RunCommand.execute (/Users/bryantaustin/Projects/cql-tests-runner/src/commands/run-tests-command.ts:22:21)
at async Command. (/Users/bryantaustin/Projects/cql-tests-runner/src/bin/cql-tests.ts:57:7)

Node.js v22.11.0

Raleigh did not get these errors. I had him test the changed cvl file and worked on his machine, without breaking anything else.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant