Michael Herzog a1c11904bb Texture: Remove UnsignedShort565Type. (#23323) 3 年之前
..
example 1c685e6eb5 Tests: use ES modules (#23315) 3 年之前
src a1c11904bb Texture: Remove UnsignedShort565Type. (#23323) 3 年之前
utils 1c685e6eb5 Tests: use ES modules (#23315) 3 年之前
README.md bf1228a27a Update test/unit/README.md 4 年之前
UnitTests.html 1c685e6eb5 Tests: use ES modules (#23315) 3 年之前
three.example.unit.js 1c685e6eb5 Tests: use ES modules (#23315) 3 年之前
three.source.unit.js 1c685e6eb5 Tests: use ES modules (#23315) 3 年之前

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)