Skip to content

Support *.ts files for node --test  #55078

Description

@ThePlenkov

What is the problem this feature will solve?

I would like to use tests using typescript, not js. Currently if I run node --test it finds nothing.

What is the feature you are proposing to solve the problem?

node --test would pick up also typescript files and execute them since typescript now is experimentally supported

What alternatives have you considered?

Of course tools like jest or vitest can do this out-of-the-box but I would really love to write native tests to have zero dependency on thridparty libraries, just pure node.

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

    feature requestIssues requesting new Node.js features.strip-typesIssues and PRs related to TypeScript type stripping.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions