[JS Tests] Prepare JS tests for testing backend diagnostics

- Introducing a backend diagnostic handler.
 - Moving JS diagnostic tests from test-common to
   js.test to avoid circular module dependencies.

^KT-61886 Fixed
This commit is contained in:
Alexander Korepanov
2023-09-12 17:00:40 +02:00
committed by Space Team
parent b672ba8eaf
commit be4f6beddb
19 changed files with 236 additions and 198 deletions
@@ -1,5 +1,8 @@
// IGNORE_BACKEND: JS_IR
// TODO: fix in KT-61882
// !LANGUAGE: -RestrictRetentionForExpressionAnnotations
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FIR_IDENTICAL
package foo