Files
kotlin-fork/js/js.translator/testData
Anton Bannykh 4e496cf2b2 JS: don't throw AssertionError from RedundantCallElimination
Also mark JS `call` function to avoid removing a custom `call`
2018-08-23 14:44:40 +03:00
..
2018-07-16 15:09:23 +03:00
2017-12-14 17:41:20 +03:00
2017-07-06 10:20:41 +03:00
2018-08-08 18:33:41 +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.