Skip to content

Ensure (on the unit test level) that generated code always compiles #116

@mykulyak

Description

@mykulyak

Currently, tests for codegens check only what code has been generated, but not the validity of the code. This leads to situations where the generated code does not compile.

To improve the situation, we need a simple way to compile the generated code in each test. This may come in a form of extended Jest matcher, or an utility function.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions