Open
Description
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.