980d83eccd
Enabled Partial Linkage may replace entire IR expressions with a stub during klib linking and loading. This may break the incremental cache dependency graph. Dropping incremental cache files after updating klibs (e.g. update klib version) covers almost all cases which could not be tracked due to a broken dependency graph. This patch could be reverted after fixing KT-57347
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.