it looks like the same tests are ran multiple times with different versions of typescript (3.5, ...3.8), but the AST tree is only complied once, with one version of typescript. Unfortunately, the AST trees are incompatible between the versions. In particular, the constants have different values:
TS 3.5
enum SyntaxKind {
ExtendsKeyword = 87,
TS 3.8
enum SyntaxKind {
ExtendsKeyword = 90,
As a result, the code is not always testing the right values and fails where it should not. This is demonstrated in the LWC support PR (https://github.com/runem/web-component-analyzer/pull/175, src/analyze/flavors/lwc/utils.ts#90).
it looks like the same tests are ran multiple times with different versions of typescript (3.5, ...3.8), but the AST tree is only complied once, with one version of typescript. Unfortunately, the AST trees are incompatible between the versions. In particular, the constants have different values: TS 3.5
TS 3.8
As a result, the code is not always testing the right values and fails where it should not. This is demonstrated in the LWC support PR (https://github.com/runem/web-component-analyzer/pull/175, src/analyze/flavors/lwc/utils.ts#90).