Skip to content

💡 Entry files when using node --test #1120

@MidnightDesign

Description

@MidnightDesign

Suggest an idea for Knip

When using Node's built-in test runner (node --test), test files should be treated as entry files.

I have absolutely no idea how you would enable that automatically though, because there's no evidence of the user using that runner in the codebase (like a dev dependency).

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