tree: d1abd76d6106267c80567d31b082991811a5bf84 [path history] [tgz]
  1. _commonFiles/
  2. box/
  3. bridges/
  4. dce/
  5. js-name-resolution/
  6. js-optimizer/
  7. lineNumbers/
  8. multiModuleOrder/
  9. outputPrefixPostfix/
  10. sourcemap/
  11. webDemoCanvasExamples/
  12. webDemoExamples1/
  13. webDemoExamples2/
  14. .gitignore
  15. moduleEmulation.js
  16. nashorn-polyfills.js
  17. package.json
  18. README.md
  19. test.html
  20. test.js
js/js.translator/testData/README.md

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.