Michael Herzog a86857ba8d Tests: Remove usage of Function.caller. (#23412) 3 years ago
..
src a86857ba8d Tests: Remove usage of Function.caller. (#23412) 3 years ago
utils 6c6fbf1d06 Global: Fix more LGTM errors. (#23346) 3 years ago
README.md bf1228a27a Update test/unit/README.md 4 years ago
UnitTests.html e36e751af0 Tests: Remove unit tests for example files. (#23352) 3 years ago
three.source.unit.js 1c685e6eb5 Tests: use ES modules (#23315) 3 years ago

README.md

Setup

  • Execute npm i --prefix test from root folder

Run

You can run the unit tests in two environments:

  • Node.js: Execute npm run test-unit from root folder
  • Browser: Execute npm start (or run any other local web sever) from root folder and access http://localhost:8080/test/unit/UnitTests.html on web browser. (See How to run things locally)