Garrett Johnson 6485112961 Add setFromMatrix3 function 5 лет назад
..
example 002ce5c79f Tests: Add npm run test-unit-examples command 5 лет назад
src 6485112961 Add setFromMatrix3 function 5 лет назад
utils 9af037c8fa Tests: Formatting in console-wrapper 5 лет назад
README.md bf1228a27a Update test/unit/README.md 5 лет назад
UnitTests.html 1e30dfa877 Removed Editor unit tests. 5 лет назад
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor 5 лет назад
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 лет назад
three.source.unit.js 75afa61f7b Add Console wrapper to introduce logging level to console for unit tests 5 лет назад

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)