Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript: test-runner issue #2467

Closed
MMartyn opened this issue Aug 7, 2024 · 4 comments
Closed

Typescript: test-runner issue #2467

MMartyn opened this issue Aug 7, 2024 · 4 comments

Comments

@MMartyn
Copy link

MMartyn commented Aug 7, 2024

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

For example, on https://exercism.org/tracks/typescript/exercises/two-fer, 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)

Copy link
Contributor

github-actions bot commented Aug 7, 2024

Hello. Thanks for opening an issue on Exercism 🙂

At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.

This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!

If you're interested in learning more about this auto-responder, please read this blog post.

@github-actions github-actions bot closed this as completed Aug 7, 2024
@BNAndras
Copy link
Sponsor Member

BNAndras commented Aug 7, 2024

This is an upstream repository for canonical practice exercise data that all tracks use so this isn’t really the best place to troubleshoot a track-specific test runner issue. I’d recommend posting your issue in https://forum.exercism.org/c/programming/typescript/118.

@MMartyn
Copy link
Author

MMartyn commented Aug 7, 2024 via email

@SleeplessByte
Copy link
Member

Thank you for reporting. A forum post was created which led to a PR that has since been merged. You should see the change on exercism.org shortly.

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

No branches or pull requests

3 participants