ANFADEV ddbfd26da0 implement tests (#25009) %!s(int64=3) %!d(string=hai) anos
..
src ddbfd26da0 implement tests (#25009) %!s(int64=3) %!d(string=hai) anos
utils 1637e9db57 More clean up. (#23442) %!s(int64=3) %!d(string=hai) anos
README.md bf1228a27a Update test/unit/README.md %!s(int64=5) %!d(string=hai) anos
UnitTests.html e36e751af0 Tests: Remove unit tests for example files. (#23352) %!s(int64=3) %!d(string=hai) anos
three.source.unit.js 947f01e243 DataUtils: Added fromHalfFloat(), rewrite toHalfFloat(). (#23596) %!s(int64=3) %!d(string=hai) anos

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)