Files
kotlin-fork/js/js.translator/testData
Svyatoslav Kuzmich 6e3d3831c2 [JS] JsExport diagnostics and legacy support
Account for JsExport in legacy backend namer. It means we
catch overloaded exported function conflicts for free!

Add error diagnostics:
* NESTED_JS_EXPORT (Fixes KT-36798)
* WRONG_EXPORTED_DECLARATION (Part of the fix for KT-37752)
* NON_EXPORTABLE_TYPE (Fixes KT-37771)
2020-05-22 10:50:22 +03:00
..
2019-11-26 12:20:39 +03:00
2019-10-31 11:13:45 +03:00
2018-09-04 12:43:39 +03:00

To run tests in node.js your need the following prerequisites installed:

  • node.js itself (installation is platform-dependent);
  • mocha (npm install -g mocha).

Run nmp install from this directory to download all additional dependencies for tests.

First, you need to run box tests via JUnit. JUnit tests additionally generate mocha runners (i.e. .node.js files).

Second, run mocha from this directory.

You can declare KOTLIN_JS_LOCATION environment variable to customize location of kotlin.js library, ../../../dist/js/kotlin.js used by default.