[JS FIR] Enable warnings and infos for JS FIR tests

This commit is contained in:
Alexander Korepanov
2023-11-20 14:09:29 +01:00
committed by Space Team
parent 862be5a787
commit b1465fbfb8
23 changed files with 130 additions and 74 deletions
@@ -43,7 +43,6 @@ abstract class AbstractFirJsDiagnosticTestBase(val parser: FirParser) : Abstract
defaultDirectives {
+ConfigurationDirectives.WITH_STDLIB
DiagnosticsDirectives.DIAGNOSTICS with listOf("-warnings", "-infos")
}
configureFirParser(parser)
@@ -462,6 +462,12 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/extendingNonExportedType.kt");
}
@Test
@TestMetadata("genericClassWithInner.kt")
public void testGenericClassWithInner() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/genericClassWithInner.kt");
}
@Test
@TestMetadata("jsExportOnNestedDeclarations.kt")
public void testJsExportOnNestedDeclarations() throws Exception {
@@ -462,6 +462,12 @@ public class DiagnosticsWithJsStdLibTestGenerated extends AbstractDiagnosticsTes
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/extendingNonExportedType.kt");
}
@Test
@TestMetadata("genericClassWithInner.kt")
public void testGenericClassWithInner() throws Exception {
runTest("compiler/testData/diagnostics/testsWithJsStdLib/export/genericClassWithInner.kt");
}
@Test
@TestMetadata("jsExportOnNestedDeclarations.kt")
public void testJsExportOnNestedDeclarations() throws Exception {