Files
kotlin-fork/js/js.translator/testData
Ilya Gorbunov 2fe222e8e7 Add SKIP_DCE_DRIVEN directive in JS-IR tests
Otherwise they fail with a compiler exception:
"An operation is not implemented: SAM conversion"
2020-06-17 19:45:15 +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.