diff --git a/cpg-language-typescript/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/typescript/TypescriptLanguageFrontendTest.kt b/cpg-language-typescript/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/typescript/TypescriptLanguageFrontendTest.kt index 0ac64f07ca..b553cd7f9b 100644 --- a/cpg-language-typescript/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/typescript/TypescriptLanguageFrontendTest.kt +++ b/cpg-language-typescript/src/test/kotlin/de/fraunhofer/aisec/cpg/frontends/typescript/TypescriptLanguageFrontendTest.kt @@ -262,7 +262,7 @@ class TypeScriptLanguageFrontendTest { assertLocalName("Users", usersComponent) assertEquals(1, usersComponent.constructors.size) assertEquals(2, usersComponent.methods.size) - assertEquals(/*0*/ 2 /* because of dummy nodes */, usersComponent.fields.size) + assertEquals(0, usersComponent.fields.size) val render = usersComponent.methods["render"] assertNotNull(render)