Typescript: test-runner issue

I am unable to run the tests for some of the typescript exercises.

For example, on Two Fer in TypeScript on Exercism, when I run corepack yarn test I get an error in the test-runner.mjs file:

node:child_process:190
  validateString(command, 'command');
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The "command" argument must be of type string. Received an instance of URL
    at normalizeExecArgs (node:child_process:190:3)
    at execSync (node:child_process:954:16)
    at file:///Users/..../Exercism/typescript/two-fer/test-runner.mjs:41:5

The line in question is: : execSync(exercismDirectory)

1 Like

As you saw the PR in TypeScript "stopped working" locally - #15 by SleeplessByte, you can now mark this as solved :slight_smile: