Skip to content

Add support to determine global variable values based on source tree #341

Open
@hendrikvanantwerpen

Description

@hendrikvanantwerpen

JavaScript and TypeScript use PROJECT_NAME and FILE_PATH variables, which are supposed to be inferred from package.json or tsconfig.json locations. This inference process is currently implemented in another process, making testing this behavior cumbersome: one has to provide these variables explicitly in the tests, for each file.

Language configurations should be able to provide a custom procedure to determine the value for global variables for source files.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions