Mr.doob dc7e084d10 Merge branch 'dev' into geometry hace 5 años
..
example 7232aa4026 Refactor geometry generators. hace 5 años
src dc7e084d10 Merge branch 'dev' into geometry hace 5 años
utils 9af037c8fa Tests: Formatting in console-wrapper hace 5 años
README.md bf1228a27a Update test/unit/README.md hace 5 años
UnitTests.html 1e30dfa877 Removed Editor unit tests. hace 5 años
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor hace 5 años
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. hace 5 años
three.source.unit.js dabb95b333 Fixed unit tests. hace 5 años

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)