Skip to content

Can't make it run when using vitest. #645

@yoniaiz

Description

@yoniaiz

Hi!
I'm trying to run the tests using vitest and it does not seem to work.
I didn't create any vitest configuration, when i'm running the tests that use runCommand i'm getting the following error

stdout  (node:99331) [ERR_UNKNOWN_FILE_EXTENSION] Warning: TypeError
module: @oclif/core@4.0.31
task: findCommand (local)
plugin: test-reports-cli
root: /.../my-cli
code: ERR_UNKNOWN_FILE_EXTENSION
message: Unknown file extension ".ts" for .../src/commands/local.ts
See more details with DEBUG=*

Is there any guidance or known issues running the tests using vitest?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions