Resolve static-class-block error in Typescript jest test
I recently added the antlr4ng
(version 3.0.4
) package to my packages.json
in my Typescript project (nodejs
version 20.11.1
). It works as expected except if it is used within a jest
test, in which case I get this error at runtime: