ANFADEV ddbfd26da0 implement tests (#25009) 2 years ago
..
src ddbfd26da0 implement tests (#25009) 2 years ago
utils 1637e9db57 More clean up. (#23442) 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 947f01e243 DataUtils: Added fromHalfFloat(), rewrite toHalfFloat(). (#23596) 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)