Mugen87 87554b9629 Tests: Make geometry tests more robust. 4 lat temu
..
example 7232aa4026 Refactor geometry generators. 4 lat temu
src 87554b9629 Tests: Make geometry tests more robust. 4 lat temu
utils 9af037c8fa Tests: Formatting in console-wrapper 4 lat temu
README.md bf1228a27a Update test/unit/README.md 4 lat temu
UnitTests.html 1e30dfa877 Removed Editor unit tests. 4 lat temu
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor 5 lat temu
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 lat temu
three.source.unit.js 75afa61f7b Add Console wrapper to introduce logging level to console for unit tests 4 lat temu

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)