Ed Preston b31ce74d40 Tests: Tune Console Output (#25412) 2 anni fa
..
src b31ce74d40 Tests: Tune Console Output (#25412) 2 anni fa
utils 3221e436c5 Tests: Unit Tests for Math (#25385) 2 anni fa
README.md bf1228a27a Update test/unit/README.md 4 anni fa
UnitTests.html 138769ec01 Update UnitTests.html (#25407) 2 anni fa
three.source.unit.js 16ac8654e4 Tests: Unit Tests for Core (#25402) 2 anni fa

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)